2010-11-01 11:40:20 +10:00
|
|
|
include(../../qtcreator.pri)
|
2011-02-03 17:56:33 +01:00
|
|
|
include(qttestrpath.pri)
|
2010-11-01 11:40:20 +10:00
|
|
|
|
2010-10-21 14:49:58 +10:00
|
|
|
isEmpty(TEMPLATE):TEMPLATE=app
|
2012-10-30 11:38:06 +01:00
|
|
|
QT += testlib
|
2012-10-23 11:44:35 +02:00
|
|
|
CONFIG += qt warn_on console depend_includepath testcase
|
2010-10-21 14:49:58 +10:00
|
|
|
CONFIG -= app_bundle
|
|
|
|
|
|
2016-03-22 14:34:17 +01:00
|
|
|
DEFINES -= QT_RESTRICTED_CAST_FROM_ASCII
|
2010-10-21 14:49:58 +10:00
|
|
|
# prefix test binary with tst_
|
|
|
|
|
!contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")
|
2011-02-03 17:56:33 +01:00
|
|
|
|
|
|
|
|
win32 {
|
2014-05-07 22:53:38 +03:00
|
|
|
lib = $$IDE_LIBRARY_PATH;$$IDE_PLUGIN_PATH
|
2011-02-03 17:56:33 +01:00
|
|
|
lib ~= s,/,\\,g
|
|
|
|
|
# the below gets added to later by testcase.prf
|
|
|
|
|
check.commands = cd . & set PATH=$$lib;%PATH%& cmd /c
|
|
|
|
|
}
|