summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/imageformats/mng/mng.pro14
-rw-r--r--src/plugins/imageformats/tiff/tiff.pro19
2 files changed, 14 insertions, 19 deletions
diff --git a/src/plugins/imageformats/mng/mng.pro b/src/plugins/imageformats/mng/mng.pro
index 158f41a..1f3ad53 100644
--- a/src/plugins/imageformats/mng/mng.pro
+++ b/src/plugins/imageformats/mng/mng.pro
@@ -40,14 +40,14 @@ contains(QT_CONFIG, system-mng) {
../../../3rdparty/libmng/libmng_trace.c \
../../../3rdparty/libmng/libmng_write.c \
../../../3rdparty/libmng/libmng_zlib.c
-}
-contains(QT_CONFIG, system-zlib) {
- symbian:LIBS_PRIVATE += -llibz
- else:if(unix|win32-g++*):LIBS_PRIVATE += -lz
- else:LIBS += zdll.lib
-} else {
- INCLUDEPATH += ../../../3rdparty/zlib
+ contains(QT_CONFIG, system-zlib) {
+ symbian:LIBS_PRIVATE += -llibz
+ else:if(unix|win32-g++*):LIBS_PRIVATE += -lz
+ else:LIBS += zdll.lib
+ } else {
+ INCLUDEPATH += ../../../3rdparty/zlib
+ }
}
QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/imageformats
diff --git a/src/plugins/imageformats/tiff/tiff.pro b/src/plugins/imageformats/tiff/tiff.pro
index 08e471c..49d635e 100644
--- a/src/plugins/imageformats/tiff/tiff.pro
+++ b/src/plugins/imageformats/tiff/tiff.pro
@@ -10,11 +10,6 @@ SOURCES += main.cpp \
contains(QT_CONFIG, system-tiff) {
unix|win32-g++*:LIBS += -ltiff
win32:!win32-g++*:LIBS += libtiff.lib
-
- contains(QT_CONFIG, system-jpeg) {
- unix|win32-g++*:LIBS += -ljpeg
- win32:!win32-g++*:LIBS += libjpeg.lib
- }
} else {
INCLUDEPATH += ../../../3rdparty/libtiff/libtiff
SOURCES += \
@@ -65,14 +60,14 @@ contains(QT_CONFIG, system-tiff) {
symbian: {
SOURCES += ../../../3rdparty/libtiff/port/lfind.c
}
-}
-contains(QT_CONFIG, system-zlib) {
- symbian:LIBS_PRIVATE += -llibz
- else:if(unix|win32-g++*):LIBS_PRIVATE += -lz
- else:LIBS += zdll.lib
-} else {
- INCLUDEPATH += ../../../3rdparty/zlib
+ contains(QT_CONFIG, system-zlib) {
+ symbian:LIBS_PRIVATE += -llibz
+ else:if(unix|win32-g++*):LIBS_PRIVATE += -lz
+ else:LIBS += zdll.lib
+ } else {
+ INCLUDEPATH += ../../../3rdparty/zlib
+ }
}
QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/imageformats