summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats/tiff/tiff.pro
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/tiff/tiff.pro
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/tiff/tiff.pro')
-rw-r--r--src/plugins/imageformats/tiff/tiff.pro11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/plugins/imageformats/tiff/tiff.pro b/src/plugins/imageformats/tiff/tiff.pro
index 88cca29..6d306b7 100644
--- a/src/plugins/imageformats/tiff/tiff.pro
+++ b/src/plugins/imageformats/tiff/tiff.pro
@@ -1,10 +1,17 @@
TARGET = qtiff
load(qt_plugin)
-include(qtiffhandler.pri)
-SOURCES += main.cpp
+HEADERS += qtiffhandler_p.h
+SOURCES += main.cpp qtiffhandler.cpp
OTHER_FILES += tiff.json
+config_libtiff {
+ unix|win32-g++*: LIBS += -ltiff
+ else:win32: LIBS += libtiff.lib
+} else {
+ include($$PWD/../../../3rdparty/libtiff.pri)
+}
+
DESTDIR = $$QT.gui.plugins/imageformats
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
INSTALLS += target