qt5base-lts/tests/auto/widgets/kernel/qapplication/desktopsettingsaware/desktopsettingsaware.pro
Oliver Wolff 030eddd173 tst_qapplication: Fix execution for WinRT
Not putting executables into debug/release subdirectories leads to the
WinRT AppxManifest being overwritten by the wrong configuration. When Qt
is configured with -release for example, it was possible that the debug
manifest (Manifest files are always created next to the target) is
written last and thus contains debug VCLibs as a dependency.

Additionally the test was changed in that way, that the resulting file
system structure (having helper and test application in a "top level"
debug and release folder) is the same structure as in tst_qobject.

Change-Id: I017b501506c54c4b89773d2b949c097598bc7049
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2018-06-28 15:44:01 +00:00

15 lines
302 B
Prolog

QT += widgets
CONFIG -= app_bundle
debug_and_release {
CONFIG(debug, debug|release) {
TARGET = ../../debug/desktopsettingsaware_helper
} else {
TARGET = ../../release/desktopsettingsaware_helper
}
} else {
TARGET = ../desktopsettingsaware_helper
}
SOURCES += main.cpp