summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/io/qfile/stdinprocess/stdinprocess.pro
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/corelib/io/qfile/stdinprocess/stdinprocess.pro')
-rw-r--r--tests/auto/corelib/io/qfile/stdinprocess/stdinprocess.pro12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/auto/corelib/io/qfile/stdinprocess/stdinprocess.pro b/tests/auto/corelib/io/qfile/stdinprocess/stdinprocess.pro
index 8e463e4cef..4029701943 100644
--- a/tests/auto/corelib/io/qfile/stdinprocess/stdinprocess.pro
+++ b/tests/auto/corelib/io/qfile/stdinprocess/stdinprocess.pro
@@ -1,8 +1,18 @@
SOURCES += main.cpp
QT = core
-CONFIG -= app_bundle debug_and_release_target
+CONFIG -= app_bundle
CONFIG += console
+debug_and_release {
+ CONFIG(debug, debug|release) {
+ TARGET = ../../debug/stdinprocess_helper
+ } else {
+ TARGET = ../../release/stdinprocess_helper
+ }
+} else {
+ TARGET = ../stdinprocess_helper
+}
+
# This app is testdata for tst_qfile
target.path = $$[QT_INSTALL_TESTS]/tst_qfile/$$TARGET
INSTALLS += target