From 55a377c79949bf77dd281ed84cdf2290dd1235fd Mon Sep 17 00:00:00 2001 From: Caroline Chao Date: Mon, 20 Apr 2015 11:03:00 +0200 Subject: QtQuickTest Doc: Specify how IMPORTPATH is used. Change-Id: I5f8fa22f80b8e8ae22262f009346560d9e83a4df Task-number: QTBUG-35789 Reviewed-by: J-P Nurmi Reviewed-by: Venugopal Shivashankar --- doc/src/qmlapp/qtquicktest.qdoc | 6 ++++-- 1 file 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 -- cgit v1.2.1