summaryrefslogtreecommitdiff
path: root/src/plugins/autotest/unit_test/mixed_atp/tests/auto/quickauto2/quickauto2.qbs
blob: 63a97fb7b7c0f5ddaf51ed1a423b1b2e2650a93a (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
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"

        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 + "\"")
}