summaryrefslogtreecommitdiff
path: root/src/svg/svg.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/svg/svg.pro')
-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)