Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. How to enable QT_QML_NO_DEBUGGER
Forum Updated to NodeBB v4.3 + New Features

How to enable QT_QML_NO_DEBUGGER

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 1.2k 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.
  • G Offline
    G Offline
    g1ennr
    wrote on last edited by
    #1

    In qtdeclarative/src/qml/debugger/qqmldebugserver.cpp there is a #ifndef QT_QML_NO_DEBUGGER and in the configure script the -no-qml-debug option adds the define to QCONFIG_FLAGS however this does not define it in qtdeclarative/src/qml/Makefile.

    This is the correct behavour https://bugreports.qt-project.org/browse/QTBUG-33201 so I have two questions.

    What is the -no-qml-debug flag supposed to do?

    How is the QT_QML_NO_DEBUGGER flag defined?

    Glenn

    1 Reply Last reply
    0
    • O Offline
      O Offline
      ossi
      wrote on last edited by
      #2

      the flag does exactly that: define that constant. in qconfig.h. which is included by qglobal.h. which is included by every other qt header. so the declarative sources see the define.

      1 Reply Last reply
      0
      • G Offline
        G Offline
        g1ennr
        wrote on last edited by
        #3

        Ok, thanks. I didn't realise it went into qconfig.h. I just saw a bunch of other flags defined in the Makefile and assumed it was meant to go there.

        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