summaryrefslogtreecommitdiffstats
path: root/installerfw.pri
diff options
context:
space:
mode:
authorKatja Marttila <katja.marttila@theqtcompany.com>2016-05-20 14:29:27 +0300
committerKatja Marttila <katja.marttila@qt.io>2016-05-20 14:09:09 +0000
commitc24d9312c281a6f6a52bf5df53e60850cce3e580 (patch)
tree37f97030edf83fece37e1a4efcef316bded6eb96 /installerfw.pri
parentdce1c562562266cff98ccede3bc10371b14a207b (diff)
add NOMINMAX to fix compile with Qt5.7 in Windows
Task-number: QTIFW-854 Change-Id: I73cb2a40d59803050c1b8f729e22a4caebcab724 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'installerfw.pri')
-rw-r--r--installerfw.pri5
1 files changed, 3 insertions, 2 deletions
diff --git a/installerfw.pri b/installerfw.pri
index 2f2dbdf7e..d089dcf36 100644
--- a/installerfw.pri
+++ b/installerfw.pri
@@ -120,8 +120,9 @@ isEmpty(GIT_SHA1) {
GIT_SHA1=\"$$cat(.tag)\"
}
-DEFINES += QT_NO_CAST_FROM_ASCII QT_STRICT_ITERATORS QT_USE_QSTRINGBUILDER "_GIT_SHA1_=$$GIT_SHA1" \
- IFW_VERSION_STR=$$IFW_VERSION_STR IFW_VERSION=$$IFW_VERSION
+DEFINES += NOMINMAX QT_NO_CAST_FROM_ASCII QT_STRICT_ITERATORS QT_USE_QSTRINGBUILDER \
+ "_GIT_SHA1_=$$GIT_SHA1" \
+ IFW_VERSION_STR=$$IFW_VERSION_STR IFW_VERSION=$$IFW_VERSION
DEFINES += IFW_REPOSITORY_FORMAT_VERSION=$$IFW_REPOSITORY_FORMAT_VERSION
static {