summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2020-12-16 13:37:05 +0100
committerRobert Griebl <robert.griebl@qt.io>2021-01-27 16:20:37 +0100
commitf5c60963eb74951b3081e94b8f9815468bc2a191 (patch)
treedf97fe8521a9cbd78c9ebaf1104a6505183846dd
parenta3de795217736fcda32e7633644e73e152523287 (diff)
downloadqtapplicationmanager-f5c60963eb74951b3081e94b8f9815468bc2a191.tar.gz
Fix config output formatting while cross-compiling
Fixes: AUTOSUITE-1636 Change-Id: I9b0adf8cd8bf984e7eb7e11fbf72d92d546bf3ab Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
-rw-r--r--qmake-features/config-output.prf4
1 files changed, 2 insertions, 2 deletions
diff --git a/qmake-features/config-output.prf b/qmake-features/config-output.prf
index 9527fe34..efa1517a 100644
--- a/qmake-features/config-output.prf
+++ b/qmake-features/config-output.prf
@@ -13,8 +13,8 @@ defineTest(printConfigLine) {
isEmpty(width):width = 30
- unix:system("test -t 2") { # check if we are on unix and stderr is a tty
- macos:echo="echo"
+ !equals(QMAKE_HOST.os, Windows):system("test -t 2") { # check if we are on unix and stderr is a tty
+ equals(QMAKE_HOST.os, Darwin):echo="echo"
else:echo="/bin/echo -e"
equals(color, "auto") {