summaryrefslogtreecommitdiffstats
path: root/qmake-features
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@pelagicore.com>2017-02-07 16:48:35 +0100
committerRobert Griebl <robert.griebl@pelagicore.com>2017-02-09 09:45:56 +0000
commitbf52871c9d8dd0102511b4857bb51ef2112949dd (patch)
treef402ae797158ce7b0413edc7d09f0965e612d675 /qmake-features
parentebcd480a120b4ba60619f0ba0012cdf3f1b6286e (diff)
Color output handling cleanup
This now also enables color output on Windows, when running within QtCreator. Change-Id: I6911cbc95a9d39af269fa26287c200f57abad0c4 Reviewed-by: Dominik Holland <dominik.holland@pelagicore.com>
Diffstat (limited to 'qmake-features')
-rw-r--r--qmake-features/am-config.prf2
1 files changed, 2 insertions, 0 deletions
diff --git a/qmake-features/am-config.prf b/qmake-features/am-config.prf
index 1aaacaf8..2e816314 100644
--- a/qmake-features/am-config.prf
+++ b/qmake-features/am-config.prf
@@ -7,6 +7,8 @@ CONFIG *= no_private_qt_headers_warning hide_symbols
CONFIG -= app_bundle qml_debug
CONFIG += exceptions
+DEFINES += QT_MESSAGELOGCONTEXT
+
win32-msvc*:QMAKE_CXXFLAGS += /FS /wd4290 /DNOMINMAX /D_CRT_SECURE_NO_WARNINGS
disable-installer:DEFINES *= AM_DISABLE_INSTALLER