forked from qt-creator/qt-creator
Change-Id: I5b0ea5df0a7321c6938146a5a03b089c837ff642 Reviewed-by: hjk <hjk@theqtcompany.com>
19 lines
498 B
Plaintext
19 lines
498 B
Plaintext
include(../../qtcreator.pri)
|
|
include(qttestrpath.pri)
|
|
|
|
isEmpty(TEMPLATE):TEMPLATE=app
|
|
QT += testlib
|
|
CONFIG += qt warn_on console depend_includepath testcase
|
|
CONFIG -= app_bundle
|
|
|
|
DEFINES -= QT_RESTRICTED_CAST_FROM_ASCII
|
|
# prefix test binary with tst_
|
|
!contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")
|
|
|
|
win32 {
|
|
lib = $$IDE_LIBRARY_PATH;$$IDE_PLUGIN_PATH
|
|
lib ~= s,/,\\,g
|
|
# the below gets added to later by testcase.prf
|
|
check.commands = cd . & set PATH=$$lib;%PATH%& cmd /c
|
|
}
|