summaryrefslogtreecommitdiff
path: root/src/svg
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-08-19 09:07:18 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-08-19 07:20:45 +0000
commit4c44cffd7b376900fc41169365ae03c7c65d95b6 (patch)
tree8b988662a0f39ddc5a67fbfee12ab58aff20b80a /src/svg
parent20db91a6d71c20cc000f28ecc67c220d9badfd3e (diff)
downloadqtsvg-4c44cffd7b376900fc41169365ae03c7c65d95b6.tar.gz
Fix build after qtConfig changes in qtbasev5.8.0-alpha1
Change-Id: Ic345acc4e7cf08a0fd94c9e3a1fd2279cdd8a93e Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/svg')
-rw-r--r--src/svg/svg.pro11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/svg/svg.pro b/src/svg/svg.pro
index ce5bf1a..f9e43b0 100644
--- a/src/svg/svg.pro
+++ b/src/svg/svg.pro
@@ -36,14 +36,9 @@ SOURCES += \
qgraphicssvgitem.cpp \
qsvggenerator.cpp
-contains(QT_CONFIG, system-zlib) {
- if(unix|mingw): LIBS_PRIVATE += -lz
- else {
- isEmpty(ZLIB_LIBS): LIBS += zdll.lib
- else: LIBS += $$ZLIB_LIBS
- }
-} else {
+qtConfig(system-zlib): \
+ QMAKE_USE_PRIVATE += zlib
+else: \
QT_PRIVATE += zlib-private
-}
load(qt_module)