path: root/mkspecs/features/configure.prf
diff options
authorHannah von Reth <>2016-11-11 10:02:34 +0100
committerHannah von Reth <>2016-11-14 16:03:39 +0000
commitaeb2768a7c5b23260e6ca0826b844777b9948b6c (patch)
treee3afe9912796f77a9858e65f20eed0224558300b /mkspecs/features/configure.prf
parent104e6d0f5427f5ebaab106b1651eb76c4c56df98 (diff)
Introduce QMAKE_CD to enable us to cd from one Windows drive to another
On Windows cd does not change the drive. So when you are on drive C: and type "cd D:\data" it will change the directory on drive D: but not affect your current working directory. To also change your drive you have to provide the parameter /d on Windows, so "cd /d D:\data" will also change the drive. Task-number: QTBUG-57080 Change-Id: Ib629879534523982eec693cef725f20a535a1a74 Reviewed-by: Oswald Buddenhagen <>
Diffstat (limited to 'mkspecs/features/configure.prf')
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf
index 147d6f178c..62eae6d813 100644
--- a/mkspecs/features/configure.prf
+++ b/mkspecs/features/configure.prf
@@ -31,7 +31,7 @@ defineTest(qtCompileTest) {
test_dir = $$QMAKE_CONFIG_TESTS_DIR/$$1
test_out_dir = $$shadowed($$test_dir)
- test_cmd_base = "cd $$system_quote($$system_path($$test_out_dir)) &&"
+ test_cmd_base = "$$QMAKE_CD $$system_quote($$system_path($$test_out_dir)) &&"
# Disable qmake features which are typically counterproductive for tests
qmake_configs = "\"CONFIG -= qt debug_and_release app_bundle lib_bundle\""