diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-08-20 14:48:02 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-09-07 11:40:53 +0000 |
commit | b68d943c920bc76506eccdc4b2b08ce93d2f2585 (patch) | |
tree | f78c5d6fc54c28a17a4fdfe07512476c6da5165d /doc | |
parent | b6eb350a31343767b610bed59da3db6b5f616dd2 (diff) | |
download | qt-creator-b68d943c920bc76506eccdc4b2b08ce93d2f2585.tar.gz |
QbsProjectManager: Support QML designer import paths
Task-number: QTCREATORBUG-20810
Change-Id: I1f096124f94d2c9f4ad51373bb39a212a108799f
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/qtquick/creator-only/qtquick-modules-with-plugins.qdoc | 3 |
1 files changed, 2 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 9e2c68204f..c8f04145fe 100644 --- a/doc/src/qtquick/creator-only/qtquick-modules-with-plugins.qdoc +++ b/doc/src/qtquick/creator-only/qtquick-modules-with-plugins.qdoc @@ -175,7 +175,8 @@ If you want to use a different module in the Design mode than in your actual application for example to mockup C++ items, then you can use \c{QML_DESIGNER_IMPORT_PATH} - in the \c{.pro} file. + in the \c{.pro} file (for qmake projects), or declare and set the property + qmlDesignerImportPaths in your product (for Qbs projects). Modules in the import paths defined in \c{QML_DESIGNER_IMPORT_PATH} will be used only in the Design mode. For an example, see \l {Qt Quick Controls 2 - Contact List}. |