summaryrefslogtreecommitdiff
path: root/src/winmain
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2010-06-10 14:35:03 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-06-10 14:35:03 +0200
commit0d5649713af91dcce58a623bbef7d38e2fbdf13b (patch)
tree4790deef3f2d8a810f3e98751c3cd119fde8c993 /src/winmain
parent1fc149fdc32e12043c9c2676e2a381e225886dbf (diff)
downloadqt4-tools-0d5649713af91dcce58a623bbef7d38e2fbdf13b.tar.gz
use "win32-g++*" scope to match all MinGW makespecs
The scope "win32-g++" comes from the name of the makespec. However, it is frequently used to check for MinGW. This works fine as long as win32-g++ is the only makespec for MinGW. Now we need the wildcard to cover "win32-g++-cross" as well. Also reordered test of win32 before win32-g++*. Also took opportunity to use else. Merge-request: 2407 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/winmain')
-rw-r--r--src/winmain/winmain.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winmain/winmain.pro b/src/winmain/winmain.pro
index bc322b9a33..efee3cde91 100644
--- a/src/winmain/winmain.pro
+++ b/src/winmain/winmain.pro
@@ -8,7 +8,7 @@ CONFIG += staticlib warn_on
CONFIG -= qt shared
win32 {
- win32-g++:DEFINES += QT_NEEDS_QMAIN
+ win32-g++*:DEFINES += QT_NEEDS_QMAIN
win32-borland:DEFINES += QT_NEEDS_QMAIN
SOURCES = qtmain_win.cpp
CONFIG += png zlib