diff options
Diffstat (limited to 'mkspecs/features/qttest_p4.prf')
-rw-r--r-- | mkspecs/features/qttest_p4.prf | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mkspecs/features/qttest_p4.prf b/mkspecs/features/qttest_p4.prf new file mode 100644 index 0000000000..ede96575f3 --- /dev/null +++ b/mkspecs/features/qttest_p4.prf @@ -0,0 +1,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:!qpa:!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 |