summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/qttest_p4.prf
blob: 5e1e8fdf994e04d8caff6bafde8eb75a2dcc20c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
isEmpty(TEMPLATE):TEMPLATE=app
CONFIG += qt warn_on console depend_includepath testcase

# x11 is not defined by configure (the following line is copied from gui.pro)
!win32:!embedded:!mac:!symbian:CONFIG += x11

qtAddLibrary(QtTest)

symbian:{
    TARGET.EPOCHEAPSIZE = 0x100000 0x2000000
#    DEFINES += QTEST_NO_SPECIALIZATIONS
    TARGET.CAPABILITY="None"
    RSS_RULES ="group_name=\"QtTests\";" 
}

# prefix test binary with tst_
!contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")

isEmpty(target.path) {
    target.path += $$[QT_INSTALL_PREFIX]/tests/qt4/$${TARGET}
}

INSTALLS += target