summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qresourceengine/qresourceengine.pro
blob: 1bb7bd9a906daf8468ca4cd6de12c38064ba1889 (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
30
31
32
33
34
35
CONFIG += testcase parallel_test
load(resources)
QT = core testlib
SOURCES = tst_qresourceengine.cpp
RESOURCES += testqrc/test.qrc

runtime_resource.target = runtime_resource.rcc
runtime_resource.depends = $$PWD/testqrc/test.qrc
runtime_resource.commands = $$QMAKE_RCC -root /runtime_resource/ -binary $${runtime_resource.depends} -o $${runtime_resource.target}
QMAKE_EXTRA_TARGETS = runtime_resource
PRE_TARGETDEPS += $${runtime_resource.target}

wince* {
    deploy.files += runtime_resource.rcc parentdir.txt
    test.files = testqrc/*
    test.path = testqrc
    alias.files = testqrc/aliasdir/*
    alias.path = testqrc/aliasdir
    other.files = testqrc/otherdir/*
    other.path = testqrc/otherdir
    search1.files = testqrc/searchpath1/*
    search1.path = testqrc/searchpath1
    search2.files = testqrc/searchpath2/*
    search2.path = testqrc/searchpath2
    sub.files = testqrc/subdir/*
    sub.path = testqrc/subdir
    testsub.files = testqrc/test/*
    testsub.path = testqrc/test
    testsub2.files = testqrc/test/test/*
    testsub2.path = testqrc/test/test
    DEPLOYMENT += deploy test alias other search1 search2 sub testsub testsub2
    DEFINES += SRCDIR=\\\"\\\"
} else {
    DEFINES += SRCDIR=\\\"$$PWD/\\\"
}