Skip to content

Add support for Qt 5.4 WebEngine#120

Open
karalabe wants to merge 2 commits intogo-qml:v1from
karalabe:v1
Open

Add support for Qt 5.4 WebEngine#120
karalabe wants to merge 2 commits intogo-qml:v1from
karalabe:v1

Conversation

@karalabe
Copy link
Copy Markdown

@karalabe karalabe commented Nov 3, 2014

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).

@obscuren
Copy link
Copy Markdown

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.

@karalabe
Copy link
Copy Markdown
Author

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: #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?

@niemeyer
Copy link
Copy Markdown
Contributor

niemeyer commented Feb 9, 2015

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.

@tgerring
Copy link
Copy Markdown

@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

@kdar
Copy link
Copy Markdown

kdar commented Mar 13, 2015

WebEngine would be great! +1

@rawberg
Copy link
Copy Markdown

rawberg commented Jun 9, 2015

+1 official integration would be great!

@hachi8833
Copy link
Copy Markdown

+1

@prologic
Copy link
Copy Markdown

prologic commented Sep 3, 2016

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants