[webkit-qt] Inspector disabled in Qt 4.x MinGW build?!
Jochen Ulrich | Gameforge
jochen.ulrich at gameforge.com
Mon Apr 15 07:28:13 PDT 2013
In the Visual Studio build of Qt, the WebKit inspector is enabled by default. However, in the MinGW builds (both in the binary distributions and when building from sources) it seems to be disabled (context menu entry is missing; creating a QWebInspector and calling setPage() and show() does nothing) and I can't figure out how to enable it.
The relevant lines contain "#if ENABLE(INSPECTOR)" and obviously, this resolves to false. However, everything I found in the build scripts indicates that this should be true by default (e.g. "DEFINES += ENABLE_INSPECTOR=1" in the features.pri). Is there a switch to be passed to the configure script to enable the inspector (something like --enable-inspector)? configure --help doesn't mention anything about it.
I am using Qt 4.8.1 and MinGW-w64 4.5.4 on Win7 x64. I also tried it with Qt 4.7.4 and 4.8.4 (binary distributions) but with the same result.
These are the parameters I passed to configure.exe: -debug-and-release -opensource -fast -platform win32-g++ -webkit -script -qt-style-windowsxp -qt-style-windowsvista
More information about the webkit-qt