[Solved] Inspector disabled in Qt 4.x MinGW build?!



  • In the Visual Studio binary distribution 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 "Inspect" 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.4 and MinGW-w64 4.7.2 on Win7 x64. These are the parameters I passed to configure.exe: -debug-and-release -opensource -shared -platform win32-g++ -qt-libpng -qt-libmng -qt-libjpeg -webkit



  • Nevermind!

    The problem was that the code which enables the DeveloperExtras was missing in my working copy due to svn branch/revision confusion.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.