Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML debugger doesn't work for cmake-based project? Breakpoints never triggered that placed in main.qml
Forum Updated to NodeBB v4.3 + New Features

QML debugger doesn't work for cmake-based project? Breakpoints never triggered that placed in main.qml

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 351 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.
  • D Offline
    D Offline
    dsba
    wrote on last edited by
    #1

    I'm experiencing issues with enabling QML debugger for cmake-based project. All breakpoint are marked as "Unclaimed breakpoint" and I cant debug even main.qml.

    Tried Solution that listed on internet:

    1. Enable QML debugging check box.
    2. QQmlDebuggingEnabler enabler;
    3. -DCMAKE_BUILD_TYPE=Debug
    4. QML_DISABLE_OPTIMIZER=1
    5. add_definitions(-DQT_QML_DEBUG)
    6. set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DQT_QML_DEBUG ")
    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