Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 8.0.2, Qt Creator 9.0.0-rc1
-
None
Description
When a CMake project is configured for Debug, the "QML debugging and profiling" is supposed to be enabled by default.
There are some cases where this fails. For example the Android toolchain files of some NDK versions manipulate/clear the CMAKE_CXX_FLAGS which Qt Creator sets to enable QML debugging.
The effect of that "clearing" is that when using NDK 22.1.7171670 (default for Qt 6.2) or NDK 25.1.8937393 (default for Qt 6.5), the combobox item in the project settings mode actually jumps from "Enabled" to "Leave at default".
In order to be able to use QML debugging, that combobox entry needs to be manually set back to "Enable" and the application of CMake configuration changes (-DCMAKE_CXX_FLAGS:STRING=-DQT_QML_DEBUG) needs to be accepted.
Qt 6.2.6, NDK 22.1.7171670 toolchain file
Qt 6.4.0, NDK 23.1.7779620 toolchain file
Qt 6.5.0, NDK 25.1.8937393 toolchain file