2011-10-25 04:24:31 +00:00
|
|
|
CONFIG += testcase
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2011-10-25 04:24:31 +00:00
|
|
|
QT += widgets widgets-private testlib
|
2011-05-11 04:02:54 +00:00
|
|
|
QT += core-private gui-private
|
|
|
|
|
2011-04-27 10:05:43 +00:00
|
|
|
SOURCES += ../tst_qapplication.cpp
|
|
|
|
|
2018-05-17 13:23:03 +00:00
|
|
|
builtin_testdata: DEFINES += BUILTIN_TESTDATA
|
|
|
|
|
|
|
|
TESTDATA = ../test/test.pro ../tmp/README ../modal
|
2012-01-25 01:29:16 +00:00
|
|
|
|
2018-06-30 20:59:21 +00:00
|
|
|
!android:!winrt: SUBPROGRAMS = desktopsettingsaware modal
|
2012-01-25 01:29:16 +00:00
|
|
|
|
2018-06-28 06:43:42 +00:00
|
|
|
debug_and_release {
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
TARGET = ../../debug/tst_qapplication
|
2018-06-30 20:59:21 +00:00
|
|
|
!android:!winrt: TEST_HELPER_INSTALLS = ../debug/helper
|
2018-06-28 06:43:42 +00:00
|
|
|
for(file, SUBPROGRAMS): TEST_HELPER_INSTALLS += "../debug/$${file}"
|
|
|
|
} else {
|
|
|
|
TARGET = ../../release/tst_qapplication
|
2018-06-30 20:59:21 +00:00
|
|
|
!android:!winrt: TEST_HELPER_INSTALLS = ../release/helper
|
2018-06-28 06:43:42 +00:00
|
|
|
for(file, SUBPROGRAMS): TEST_HELPER_INSTALLS += "../release/$${file}"
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
TARGET = ../tst_qapplication
|
2018-06-30 20:59:21 +00:00
|
|
|
!android:!winrt: TEST_HELPER_INSTALLS = ../helper
|
2018-06-28 06:43:42 +00:00
|
|
|
for(file, SUBPROGRAMS): TEST_HELPER_INSTALLS += "../$${file}"
|
|
|
|
}
|