diff options
author | Alexander Akulich <akulichalexander@gmail.com> | 2019-09-08 16:37:08 +0300 |
---|---|---|
committer | Alexandr Akulich <akulichalexander@gmail.com> | 2019-09-09 07:27:45 +0000 |
commit | 0e18503225630b84b1b710bdb42dfa02c6a4b82f (patch) | |
tree | 064818a29318081c3e5c25e2b58597d14e845f3b | |
parent | 6e6ee2e9cb7b8fdec8ebfeec90f3bf02b92ffbab (diff) |
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 <riitta-leena.miettinen@qt.io>
-rw-r--r-- | doc/src/qtquick/creator-only/qtquick-modules-with-plugins.qdoc | 2 |
1 files changed, 1 insertions, 1 deletions
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 0601da4e19..f26079462d 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. |