summaryrefslogtreecommitdiffstats
path: root/tests/auto/security/tst_security.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2019-09-23 19:19:46 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2019-09-23 19:23:37 +0200
commit58a4d5b54968bdcd042113a1a5200db7e6f7547b (patch)
treee9a4a5bfc5778ffe491f2aa240502a87a89454f0 /tests/auto/security/tst_security.cpp
parentdfc8e26b1f84c4b48d9247202fd3d4d0cb247825 (diff)
Prospective build fix for MinGWv5.14.0-alpha1
After commit 4d289edb14aeb4976218cc306bfc514e37521b82 in qtbase, debug-and-release is not unconditional on Windows anymore -- it's off for MinGW. Therefore path tricks to get out of a debug/ or release/ folder need to be guarded with the feature. Task-number: QTBUG-78704 Change-Id: Idd1e9c1eae4696cd0322d4d991e92b7f1309fec3 Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
Diffstat (limited to 'tests/auto/security/tst_security.cpp')
-rw-r--r--tests/auto/security/tst_security.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/security/tst_security.cpp b/tests/auto/security/tst_security.cpp
index 6b68bc2..ad2b717 100644
--- a/tests/auto/security/tst_security.cpp
+++ b/tests/auto/security/tst_security.cpp
@@ -188,7 +188,7 @@ void Tst_QOpcUaSecurity::initTestCase()
+ QLatin1String("/../../open62541-testserver/open62541-testserver.app/Contents/MacOS/open62541-testserver")
#else
-#ifdef Q_OS_WIN
+#if defined(Q_OS_WIN) && QT_CONFIG(debug_and_release)
+ QLatin1String("/..")
#endif
+ QLatin1String("/../../open62541-testserver/open62541-testserver")