diff --git a/doc/qtcreator/src/debugger/qtquick-debugging.qdoc b/doc/qtcreator/src/debugger/qtquick-debugging.qdoc index 05b89ebab89..6f6ca89f450 100644 --- a/doc/qtcreator/src/debugger/qtquick-debugging.qdoc +++ b/doc/qtcreator/src/debugger/qtquick-debugging.qdoc @@ -132,8 +132,18 @@ \li Build the application by using the appropriate configuration parameters (if you build the application with \QC, it automatically uses the correct configuration): + \list + \li When using CMake, the + \l{CMake: target_compile_definitions command} + {target_compile_definitions} command is defined + in the CMakeLists.txt file: + \c {target_compile_definitions(myapp PRIVATE QT_QML_DEBUG)} - \c {CONFIG+=qml_debug} + Where \e myapp is the application to debug. + \li When using qmake, the following value is defined for the + \l CONFIG property in the .pro file: + \c {CONFIG += qml_debug} + \endlist \endif \li Start the application with the following arguments: diff --git a/doc/qtcreator/src/external-resources/external-resources.qdoc b/doc/qtcreator/src/external-resources/external-resources.qdoc index 8fbf2185434..dc3f15c4863 100644 --- a/doc/qtcreator/src/external-resources/external-resources.qdoc +++ b/doc/qtcreator/src/external-resources/external-resources.qdoc @@ -121,6 +121,10 @@ \externalpage https://cmake.org/cmake/help/latest/command/set_property.html \title CMake: set_property command */ +/*! + \externalpage https://cmake.org/cmake/help/latest/command/target_compile_definitions.html + \title CMake: target_compile_definitions command +*/ /*! \externalpage https://cmake.org/cmake/help/latest/command/target_link_libraries.html \title CMake: target_link_libraries command