How to get the qml QtWebkit in 5.0.1 working in windows ?
-
Hi,
So i have this project that i've been working on linux and builds and runs fine and now i'm trying to build and run in windows. Since qt 5.0.1 does not provide opengl desktop and as such my work does not run out of the box, i had to compile my own qt without the (absurd/redundant) angle and with opengl desktop. So some of the missing .dll and .exe may come from my faulty configure:
configure -prefix c:\QT_BUILD -opensource -nomake tests -nomake examples -release -opengl desktop -mp -platform win32-msvc2010 -confirm-license -debug -no-angle -icuThen when running qml (with my own launcher) i get the following errors:
with set QML2_IMPORT_PATH=...\imports
...WebloaderScroller.qml:1:20: plugin cannot be loaded for module "QtWebKit": Unknown errorwithout set QML2_IMPORT_PATH=...\imports OR with set QML2_IMPORT_PATH=...\qml
...WebloaderScroller.qml:1:20: module "QtWebKit" is not installedWhat i'm missing compared to the linux build:
- the experimental.dll
- the libexec\QtWebkitProcess.exe
For debugging i've tried the set qml_import_trace=1 and qt_debug_plugins=1 both without any useful data for my case.
Also tried loading via depends.exe in profile to see if some missing dll was trying to be loaded and also didn't get any useful information.I've looked at the .pri and .pro in the QtWebkit source directories and in the declarative.pro we have:
@
build?(webkit2): {
experimental_api.file = experimental/experimental.pri
experimental_api.makefile = Makefile.declarative.experimental
SUBDIRS += experimental_api
}
@
Question 1 is how to enable that build?(webkit2) stage ? or configure.bat parameters to enable these missing parts of webkit.Thanks in advance.