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 Updated to NodeBB v4.3 + New Features

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 last edited by A Former User
    #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 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

      • Login

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