From 0e18503225630b84b1b710bdb42dfa02c6a4b82f Mon Sep 17 00:00:00 2001 From: Alexander Akulich Date: Sun, 8 Sep 2019 16:37:08 +0300 Subject: [PATCH] Doc: Small fix for 'Importing QML Modules / CMake' section - Remove the unneeded curly braces around QML_IMPORT_PATH variable. - Change the variable type format to upper-case to get rid CMake warning. ("CMake Warning: implicitly converting 'string' to 'STRING' type.") Change-Id: I71827d3496093bc90fb5b45ab12b010108793818 Reviewed-by: Leena Miettinen --- doc/src/qtquick/creator-only/qtquick-modules-with-plugins.qdoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/qtquick/creator-only/qtquick-modules-with-plugins.qdoc b/doc/src/qtquick/creator-only/qtquick-modules-with-plugins.qdoc index 0601da4e19f..f26079462d6 100644 --- a/doc/src/qtquick/creator-only/qtquick-modules-with-plugins.qdoc +++ b/doc/src/qtquick/creator-only/qtquick-modules-with-plugins.qdoc @@ -145,7 +145,7 @@ set the QML import path: \code - {set(QML_IMPORT_PATH ${CMAKE_SOURCE_DIR}/qml ${CMAKE_BINARY_DIR}/imports CACHE string "" FORCE)} + set(QML_IMPORT_PATH ${CMAKE_SOURCE_DIR}/qml ${CMAKE_BINARY_DIR}/imports CACHE STRING "" FORCE) \endcode The import path affects all the targets built by the CMake project.