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>
This commit is contained in:
Alexander Akulich
2019-09-08 16:37:08 +03:00
committed by Alexandr Akulich
parent 6e6ee2e9cb
commit 0e18503225

View File

@@ -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.