summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@theqtcompany.com>2015-04-20 11:03:00 +0200
committerCaroline Chao <caroline.chao@theqtcompany.com>2015-04-20 13:41:07 +0000
commit55a377c79949bf77dd281ed84cdf2290dd1235fd (patch)
tree8a786afb6739d856afedb9f483b04ff13f813f6e
parent359b15cb2154b7430ad1ee64ef235eaff6eef675 (diff)
downloadqtdoc-55a377c79949bf77dd281ed84cdf2290dd1235fd.tar.gz
QtQuickTest Doc: Specify how IMPORTPATH is used.
Change-Id: I5f8fa22f80b8e8ae22262f009346560d9e83a4df Task-number: QTBUG-35789 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com> Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
-rw-r--r--doc/src/qmlapp/qtquicktest.qdoc6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/qmlapp/qtquicktest.qdoc b/doc/src/qmlapp/qtquicktest.qdoc
index 7fee0d65..2f653a44 100644
--- a/doc/src/qmlapp/qtquicktest.qdoc
+++ b/doc/src/qmlapp/qtquicktest.qdoc
@@ -108,8 +108,10 @@
needed for shadow builds.
If your test case needs QML imports, then you can add them as
- \c{-import} options to the test program command-line by adding
- the following line to your .pro file:
+ \c{-import} options to the test program command-line.
+
+ If IMPORTPATH is specified in your .pro file, each import path added to IMPORTPATH
+ will be passed as a command-line argument when the test is run using "make check":
\code
IMPORTPATH += $$PWD/../imports/my_module1 $$PWD/../imports/my_module2