Replace win32-g++ with mingw scope
authorKai Koehne <kai.koehne@digia.com>
Fri, 17 Jan 2014 13:38:08 +0000 (14:38 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 7 Feb 2014 12:53:57 +0000 (13:53 +0100)
Commit 773dd01 in qtbase introduced a general mingw platform scope, which
is cleaner and more flexible than matching the spec name.

(see 278152fff for a similar commit in qtbase).

Change-Id: I90c319bdda6b710bce4d2d883736716a70760127
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
config.tests/libmng/libmng.pro
config.tests/libtiff/libtiff.pro
src/3rdparty/zlib_dependency.pri
src/plugins/imageformats/mng/qmnghandler.pri
src/plugins/imageformats/tiff/tiff.pro

index 7a45825..adc096e 100644 (file)
@@ -2,5 +2,5 @@ SOURCES = libmng.cpp
 CONFIG -= qt dylib
 mac:CONFIG -= app_bundle
 win32:CONFIG += console
-unix|win32-g++*: LIBS += -lmng
+unix|mingw: LIBS += -lmng
 else:win32: LIBS += libmng.lib
index 47a8437..f7ac4c1 100644 (file)
@@ -2,5 +2,5 @@ SOURCES = libtiff.cpp
 CONFIG -= qt dylib
 mac:CONFIG -= app_bundle
 win32:CONFIG += console
-unix|win32-g++*: LIBS += -ltiff
+unix|mingw: LIBS += -ltiff
 else:win32: LIBS += libtiff.lib
index fc05522..74efbbb 100644 (file)
@@ -1,7 +1,7 @@
 # zlib dependency satisfied by bundled 3rd party zlib or system zlib
 contains(QT_CONFIG, system-zlib) {
-    if(unix|win32-g++*): LIBS_PRIVATE += -lz
-    else:                LIBS += zdll.lib
+    unix|mingw: LIBS_PRIVATE += -lz
+    else:       LIBS += zdll.lib
 } else {
     load(qt_build_paths)
     git_build: \
index cdf17c5..5c0fff1 100644 (file)
@@ -3,7 +3,7 @@ INCLUDEPATH *= $$PWD
 HEADERS += $$PWD/qmnghandler_p.h
 SOURCES += $$PWD/qmnghandler.cpp
 config_libmng {
-    unix|win32-g++*: LIBS += -lmng
+    unix|mingw: LIBS += -lmng
     else:win32: LIBS += libmng.lib
 } else {
     include($$PWD/../../../3rdparty/libmng.pri)
index 353e3f3..0f841ab 100644 (file)
@@ -10,7 +10,7 @@ wince*: SOURCES += qfunctions_wince.cpp
 OTHER_FILES += tiff.json
 
 config_libtiff {
-    unix|win32-g++*: LIBS += -ltiff
+    unix|mingw: LIBS += -ltiff
     else:win32: LIBS += libtiff.lib
 } else {
     include($$PWD/../../../3rdparty/libtiff.pri)