Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. [Solved] Inspector disabled in Qt 4.x MinGW build?!
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Qt WebKit
2 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    julrich
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • J Offline
      J Offline
      julrich
      wrote on last edited by
      #2

      Nevermind!

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

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved