Commit 0bbd1e3c authored by Riitta-Leena Miettinen's avatar Riitta-Leena Miettinen
Browse files

Doc: Setting QML import path when using CMake

Change-Id: I7e29f86d2b429fadaad763fa6abe371f79669d75
Reviewed-by: Tobias Hunger's avatarTobias Hunger <>
parent e929cc59
......@@ -60,6 +60,15 @@
then you can specify those using \c{QML_IMPORT_PATH} in the \c{.pro} file of your
If you use CMake, add the following command to the CMakeLists.txt file to
set the QML import path:
The import path affects all the targets built by the CMake project.
Ideally, QML modules have a \c{plugins.qmltypes} file in the same directory
as the \c qmldir file. The \c qmltypes file contains a description of the
types exported by the module's plugins and is loaded by \QC when the
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment