After building Qt from source code, you’ll find out that Qt Creator will complain that “module QtWebKit is not installed” for your Qt WebKit 3.0 applications.
In this case, follow the order here as a remedy:
- Copy jsc.exe and QtWebBrowser.exe in qtwebkit/bin to qtbase/bin
- Copy QtWebKit directory from qtwebkit/import to qtbase/qml
- in qtbase/qml/QtWebKit, make a new file named qmldir, and write down following:
module QtWebKit
plugin qmlwebkitplugin - Try your code
- PROFIT! :)
No comments:
Post a Comment