forked from qt-creator/qt-creator
Change-Id: I5bba2a3bf164e5069938b7835176787beb646817 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
19 lines
500 B
Plaintext
19 lines
500 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_NO_CAST_FROM_ASCII
|
|
# prefix test binary with tst_
|
|
!contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")
|
|
|
|
win32 {
|
|
lib = $$IDE_LIBRARY_PATH;$$IDE_PLUGIN_PATH/QtProject
|
|
lib ~= s,/,\\,g
|
|
# the below gets added to later by testcase.prf
|
|
check.commands = cd . & set PATH=$$lib;%PATH%& cmd /c
|
|
}
|