summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats/jpeg/jpeg.pro
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2009-03-23 09:18:55 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2009-03-23 09:18:55 (GMT)
commite5fcad302d86d316390c6b0f62759a067313e8a9 (patch)
treec2afbf6f1066b6ce261f14341cf6d310e5595bc1 /src/plugins/imageformats/jpeg/jpeg.pro
downloadQt-e5fcad302d86d316390c6b0f62759a067313e8a9.zip
Qt-e5fcad302d86d316390c6b0f62759a067313e8a9.tar.gz
Qt-e5fcad302d86d316390c6b0f62759a067313e8a9.tar.bz2
Long live Qt 4.5!
Diffstat (limited to 'src/plugins/imageformats/jpeg/jpeg.pro')
-rw-r--r--src/plugins/imageformats/jpeg/jpeg.pro73
1 files changed, 73 insertions, 0 deletions
diff --git a/src/plugins/imageformats/jpeg/jpeg.pro b/src/plugins/imageformats/jpeg/jpeg.pro
new file mode 100644
index 0000000..f310902
--- /dev/null
+++ b/src/plugins/imageformats/jpeg/jpeg.pro
@@ -0,0 +1,73 @@
+TARGET = qjpeg
+include(../../qpluginbase.pri)
+
+QTDIR_build:REQUIRES = "!contains(QT_CONFIG, no-jpeg)"
+
+HEADERS += qjpeghandler.h
+SOURCES += main.cpp \
+ qjpeghandler.cpp
+
+wince*: {
+ DEFINES += NO_GETENV
+ contains(CE_ARCH,x86):CONFIG -= stl exceptions
+ contains(CE_ARCH,x86):CONFIG += exceptions_off
+}
+
+contains(QT_CONFIG, system-jpeg) {
+ unix:LIBS += -ljpeg
+ win32:LIBS += libjpeg.lib
+}
+!contains(QT_CONFIG, system-jpeg) {
+ INCLUDEPATH += ../../../3rdparty/libjpeg
+ SOURCES += \
+ ../../../3rdparty/libjpeg/jcapimin.c \
+ ../../../3rdparty/libjpeg/jcapistd.c \
+ ../../../3rdparty/libjpeg/jccoefct.c \
+ ../../../3rdparty/libjpeg/jccolor.c \
+ ../../../3rdparty/libjpeg/jcdctmgr.c \
+ ../../../3rdparty/libjpeg/jchuff.c \
+ ../../../3rdparty/libjpeg/jcinit.c \
+ ../../../3rdparty/libjpeg/jcmainct.c \
+ ../../../3rdparty/libjpeg/jcmarker.c \
+ ../../../3rdparty/libjpeg/jcmaster.c \
+ ../../../3rdparty/libjpeg/jcomapi.c \
+ ../../../3rdparty/libjpeg/jcparam.c \
+ ../../../3rdparty/libjpeg/jcphuff.c \
+ ../../../3rdparty/libjpeg/jcprepct.c \
+ ../../../3rdparty/libjpeg/jcsample.c \
+ ../../../3rdparty/libjpeg/jctrans.c \
+ ../../../3rdparty/libjpeg/jdapimin.c \
+ ../../../3rdparty/libjpeg/jdapistd.c \
+ ../../../3rdparty/libjpeg/jdatadst.c \
+ ../../../3rdparty/libjpeg/jdatasrc.c \
+ ../../../3rdparty/libjpeg/jdcoefct.c \
+ ../../../3rdparty/libjpeg/jdcolor.c \
+ ../../../3rdparty/libjpeg/jddctmgr.c \
+ ../../../3rdparty/libjpeg/jdhuff.c \
+ ../../../3rdparty/libjpeg/jdinput.c \
+ ../../../3rdparty/libjpeg/jdmainct.c \
+ ../../../3rdparty/libjpeg/jdmarker.c \
+ ../../../3rdparty/libjpeg/jdmaster.c \
+ ../../../3rdparty/libjpeg/jdmerge.c \
+ ../../../3rdparty/libjpeg/jdphuff.c \
+ ../../../3rdparty/libjpeg/jdpostct.c \
+ ../../../3rdparty/libjpeg/jdsample.c \
+ ../../../3rdparty/libjpeg/jdtrans.c \
+ ../../../3rdparty/libjpeg/jerror.c \
+ ../../../3rdparty/libjpeg/jfdctflt.c \
+ ../../../3rdparty/libjpeg/jfdctfst.c \
+ ../../../3rdparty/libjpeg/jfdctint.c \
+ ../../../3rdparty/libjpeg/jidctflt.c \
+ ../../../3rdparty/libjpeg/jidctfst.c \
+ ../../../3rdparty/libjpeg/jidctint.c \
+ ../../../3rdparty/libjpeg/jidctred.c \
+ ../../../3rdparty/libjpeg/jmemmgr.c \
+ ../../../3rdparty/libjpeg/jquant1.c \
+ ../../../3rdparty/libjpeg/jquant2.c \
+ ../../../3rdparty/libjpeg/jutils.c \
+ ../../../3rdparty/libjpeg/jmemnobs.c
+}
+
+QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/imageformats
+target.path += $$[QT_INSTALL_PLUGINS]/imageformats
+INSTALLS += target