Unsolved QML debugger doesn't work for cmake-based project? Breakpoints never triggered that placed in main.qml
-
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:
- Enable QML debugging check box.
- QQmlDebuggingEnabler enabler;
- -DCMAKE_BUILD_TYPE=Debug
- QML_DISABLE_OPTIMIZER=1
- add_definitions(-DQT_QML_DEBUG)
- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DQT_QML_DEBUG ")