Open karalabe opened 9 years ago
Does QtWebEngine.experimental 1.0
work for you? I've tried the most simplest implementation. Importing the experimental module (not even using it) won't allow you to open a window.
Component.onCompleted: {
console.log("?")
}
Shows no output. I'm guessing it somehow fails opening the experimental module.
Haven't really tried it, I've only needed the base WebEngine, and even that only to display a pretty much dumb browser widget. What's in that code?
Btw, there's also this issue I've encountered a while ago: https://github.com/go-qml/qml/issues/124, don't know it it would be related to your example if you try and log something.
Does my example that I've included with this PR work on your end?
Just a quick note to let you know this is on my radar. I haven't had a chance to evaluate it yet, but it's on the list.
@niemeyer Thank you for maintaining this project :) Do you have any timeline on integrating WebEngine support or is there anything that can be done to assist? There seem to be a few people in need of it
WebEngine would be great! +1
+1 official integration would be great!
+1
I can confirm the patches work as expected. For lack of official support in this package (as of now) I'm actually going to build something using go-qml with the patches from @karalabe So thank you :)
I've implemented a simple wrapper around the webengine initialization function call to be able to use QtWebEngine QML modules too in go-qml applications. I've placed it in a separate folder so that only people needing it will have to have the Qt 5.4 dependencies installed. I've also added a simple example loading the CodinGame website which is very heavy on animation (hence why webkit fails utterly with it).