summaryrefslogtreecommitdiff
path: root/plugins/autotest/unit_test/mixed_atp/tests/auto/quickauto2/quickauto2.qbs
blob: a5fe65fbd65937c612ec04f90afc095e6df3f08e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 + "\"")
}