Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-28442

QML debugging and profiling is in some cases not automatically enabled

    XMLWordPrintable

Details

    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

      Attachments

        1. qmldebug_qt626.mp4
          1.29 MB
        2. qmldebug_qt640.mp4
          1001 kB
        3. qmldebug_qt650.mp4
          1.26 MB

        Activity

          People

            portale Alessandro Portale
            portale Alessandro Portale
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: