go-qml / qml

QML support for the Go language
Other
1.96k stars 189 forks source link

Something wrong with WebView #175

Open errashe opened 8 years ago

errashe commented 8 years ago

So, i have installed QT5 and linked it with "homebrew". I installed the package go-qml. And now, when i trying to do something with WebView, i get the message:

error: file:////Users/dev/github/snap/webview.qml:3 module "QtWebKit" is not installed exit status 1

Qt5/5.6.0 actually installed and linked. Some of the examples actually work, so i have no idea, what's wrong with WebView...

MidoriYakumo commented 8 years ago

Qt 5.6 switched webview from QtWebkit to Webview(platform native) in my memory

errashe commented 8 years ago

So, should i try to include Webview? Or what?

If i wanna write something like a webshotter (screen, but for sites), i need this webkit! Can somebody help me?

MidoriYakumo commented 8 years ago

Change import QtWebkit to import Webview and try debugging?

Official documents help a lot. http://doc.qt.io/qt-5/topics-web-content.html