summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/zlib_dependency.pri
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-01-23 11:57:17 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-25 09:38:12 +0100
commitc64ae4f1615f0fe9322ffcb09e50e360068fd11a (patch)
tree2e6bec67c939e226e0efa46f966b5e990aa8abb2 /src/3rdparty/zlib_dependency.pri
parent2564c403a1fbcf110475b071c3b60eca1991a455 (diff)
Long live the qtimageformats module
This module contains plugins for image formats that aren't part of the "core" (qtbase) offering, starting with mng. Task-number: QTBUG-21869 Change-Id: I85e51ed6f84c07419b1676f9def234c36f10141f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: aavit <qt_aavit@ovi.com>
Diffstat (limited to 'src/3rdparty/zlib_dependency.pri')
-rw-r--r--src/3rdparty/zlib_dependency.pri10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/3rdparty/zlib_dependency.pri b/src/3rdparty/zlib_dependency.pri
new file mode 100644
index 0000000..8373a8c
--- /dev/null
+++ b/src/3rdparty/zlib_dependency.pri
@@ -0,0 +1,10 @@
+# zlib dependency satisfied by bundled 3rd party zlib or system zlib
+contains(QT_CONFIG, system-zlib) {
+ symbian: LIBS_PRIVATE += -llibz
+ else:if(unix|win32-g++*):LIBS_PRIVATE += -lz
+ else: LIBS += zdll.lib
+} else {
+# We could copy the zlib sources over to this module, but for now we don't.
+# INCLUDEPATH += $$PWD/zlib
+ error(zlib not available: Qt was not built with the system's zlib)
+}