Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Activating QML debugging ignored
Forum Update on Monday, May 27th 2025

Activating QML debugging ignored

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 1 Posters 1.8k Views
  • 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.
  • K Offline
    K Offline
    kuschky
    wrote on 10 Mar 2017, 11:21 last edited by A Former User 3 Nov 2017, 16:06
    #1

    Hello,

    I'm using Qt Creator 4.2.1 on Linux 64bit. In my Qt 5.4.0 project I enabled the Qml Debug support project/build/qmake settings and also under project/run/debugger settings

    Sometime ago it was working for me but I'm not able to enable Qml Debugging. When starting the debug session the debugger log view gaves me the following information that Qml debugging settings are ignored. But it did not tell me why:

    "QDeclarativeDebugServer: Ignoring "-qmljsdebugger=port:43357,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector". Debugging has not been enabled."

    A view with netstat shows me that port 43357 is not opened.

    Any idea why it's ignroed and how to enable the Qml debugging?

    Thanks & best regards Michael

    1 Reply Last reply
    0
    • K Offline
      K Offline
      kuschky
      wrote on 10 Mar 2017, 16:57 last edited by
      #2

      I checked the source and it seems that my Qt libraries are compiled without qml debug option enabled

          if (!QQmlEnginePrivate::qml_debugging_enabled) {
              qWarning() << QString(QLatin1String(
                                "QML Debugger: Ignoring \"-qmljsdebugger=%1\". "
                                "Debugging has not been enabled.")).arg(
                                appD->qmljsDebugArgumentsString());
              return;
          }
      
      1 Reply Last reply
      0

      1/2

      10 Mar 2017, 11:21

      • Login

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