summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats/mng
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2012-08-06 13:36:10 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-08 16:53:04 +0200
commit5373e3e821c7f43d9c941384437b1d39d6e9d47e (patch)
tree5801d6582494867b536fb632cb6f00e0c654f24a /src/plugins/imageformats/mng
parent23d2fa526bf215343c77971709a9d00535ce1ab7 (diff)
Enable configure tests for system libmng and libtiff
The current code didn't run the tests anymore, but was still based on the assumption that qtbase/configure set up the right configuration. Clean up the pro files for mng and tiff while we're at it. Change-Id: Iee46c183fda57ec07b60a80089af7925db959c40 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'src/plugins/imageformats/mng')
-rw-r--r--src/plugins/imageformats/mng/mng.pro6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/imageformats/mng/mng.pro b/src/plugins/imageformats/mng/mng.pro
index 435df20..17e364f 100644
--- a/src/plugins/imageformats/mng/mng.pro
+++ b/src/plugins/imageformats/mng/mng.pro
@@ -4,9 +4,9 @@ load(qt_plugin)
HEADERS += qmnghandler_p.h
SOURCES += qmnghandler.cpp
OTHER_FILES += mng.json
-contains(QT_CONFIG, system-mng) {
- if(unix|win32-g++*):LIBS += -lmng
- else:win32: LIBS += libmng.lib
+config_libmng {
+ unix|win32-g++*: LIBS += -lmng
+ else:win32: LIBS += libmng.lib
} else {
include($$PWD/../../../3rdparty/libmng.pri)
*-g++*: QMAKE_CFLAGS_WARN_ON += -Wno-unused-parameter