summaryrefslogtreecommitdiff
path: root/plugins/autotest/unit_test/mixed_atp/tests/auto/quickauto2/quickauto2.qbs
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2015-07-27 16:07:47 +0200
committerChristian Stenger <christian.stenger@theqtcompany.com>2015-08-06 14:53:54 +0300
commit828b61e941fb2247c49c846103f7be5c7c5cbb0a (patch)
treeed767bf1fba443c8c499ac88c2cd10463f220243 /plugins/autotest/unit_test/mixed_atp/tests/auto/quickauto2/quickauto2.qbs
parent7c06e4b768f34f6e840541c22b96700e5bc93849 (diff)
downloadqt-creator-828b61e941fb2247c49c846103f7be5c7c5cbb0a.tar.gz
Add qbs project files to unit tests
Change-Id: I27918b0beaa39926c13dbf54e1479502a598a598 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'plugins/autotest/unit_test/mixed_atp/tests/auto/quickauto2/quickauto2.qbs')
-rw-r--r--plugins/autotest/unit_test/mixed_atp/tests/auto/quickauto2/quickauto2.qbs29
1 files changed, 29 insertions, 0 deletions
diff --git a/plugins/autotest/unit_test/mixed_atp/tests/auto/quickauto2/quickauto2.qbs b/plugins/autotest/unit_test/mixed_atp/tests/auto/quickauto2/quickauto2.qbs
new file mode 100644
index 0000000000..a5fe65fbd6
--- /dev/null
+++ b/plugins/autotest/unit_test/mixed_atp/tests/auto/quickauto2/quickauto2.qbs
@@ -0,0 +1,29 @@
+import qbs
+
+CppApplication {
+ name: "Qt Quick auto test 2"
+ targetName: "test_mal_qtquick"
+
+ Depends { name: "cpp" }
+ Depends { name: "Qt.core" }
+ Depends {
+ condition: Qt.core.versionMajor > 4
+ name: "Qt.qmltest"
+ }
+
+ Group {
+ condition: Qt.core.versionMajor > 4
+ name: "main application"
+ files: [ "main.cpp" ]
+ }
+
+ Group {
+ name: "qml test files"
+ qbs.install: true
+
+ files: [ "tst_test1.qml", "tst_test2.qml" ]
+ }
+
+ // this should be set automatically, but it seems as if this does not happen
+ cpp.defines: base.concat("QUICK_TEST_SOURCE_DIR=\"" + path + "\"")
+}