src/plugins/imageformats/jpeg/jpeg.pro
changeset 0 1918ee327afb
child 30 5dc02b23752f
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 TARGET  = qjpeg
       
     2 include(../../qpluginbase.pri)
       
     3 
       
     4 QTDIR_build:REQUIRES = "!contains(QT_CONFIG, no-jpeg)"
       
     5 
       
     6 HEADERS += qjpeghandler.h
       
     7 SOURCES += main.cpp \
       
     8            qjpeghandler.cpp
       
     9 
       
    10 wince*: { 
       
    11 	DEFINES += NO_GETENV 
       
    12 	contains(CE_ARCH,x86):CONFIG -= stl exceptions
       
    13 	contains(CE_ARCH,x86):CONFIG += exceptions_off
       
    14 }
       
    15 
       
    16 symbian: {
       
    17         #Disable warnings in 3rdparty code due to unused arguments
       
    18         QMAKE_CXXFLAGS.CW += -W nounusedarg
       
    19         TARGET.UID3=0x2001E61B
       
    20 }
       
    21 
       
    22 contains(QT_CONFIG, system-jpeg) {
       
    23         unix:LIBS += -ljpeg
       
    24         win32:LIBS += libjpeg.lib
       
    25 }
       
    26 !contains(QT_CONFIG, system-jpeg) {
       
    27 	INCLUDEPATH += ../../../3rdparty/libjpeg
       
    28 	SOURCES  += \
       
    29 	    ../../../3rdparty/libjpeg/jcapimin.c \
       
    30 	    ../../../3rdparty/libjpeg/jcapistd.c \
       
    31 	    ../../../3rdparty/libjpeg/jccoefct.c \
       
    32 	    ../../../3rdparty/libjpeg/jccolor.c \
       
    33 	    ../../../3rdparty/libjpeg/jcdctmgr.c \
       
    34 	    ../../../3rdparty/libjpeg/jchuff.c \
       
    35 	    ../../../3rdparty/libjpeg/jcinit.c \
       
    36 	    ../../../3rdparty/libjpeg/jcmainct.c \
       
    37 	    ../../../3rdparty/libjpeg/jcmarker.c \
       
    38 	    ../../../3rdparty/libjpeg/jcmaster.c \
       
    39 	    ../../../3rdparty/libjpeg/jcomapi.c \
       
    40 	    ../../../3rdparty/libjpeg/jcparam.c \
       
    41 	    ../../../3rdparty/libjpeg/jcphuff.c \
       
    42 	    ../../../3rdparty/libjpeg/jcprepct.c \
       
    43 	    ../../../3rdparty/libjpeg/jcsample.c \
       
    44 	    ../../../3rdparty/libjpeg/jctrans.c \
       
    45 	    ../../../3rdparty/libjpeg/jdapimin.c \
       
    46 	    ../../../3rdparty/libjpeg/jdapistd.c \
       
    47 	    ../../../3rdparty/libjpeg/jdatadst.c \
       
    48 	    ../../../3rdparty/libjpeg/jdatasrc.c \
       
    49 	    ../../../3rdparty/libjpeg/jdcoefct.c \
       
    50 	    ../../../3rdparty/libjpeg/jdcolor.c \
       
    51 	    ../../../3rdparty/libjpeg/jddctmgr.c \
       
    52 	    ../../../3rdparty/libjpeg/jdhuff.c \
       
    53 	    ../../../3rdparty/libjpeg/jdinput.c \
       
    54 	    ../../../3rdparty/libjpeg/jdmainct.c \
       
    55 	    ../../../3rdparty/libjpeg/jdmarker.c \
       
    56 	    ../../../3rdparty/libjpeg/jdmaster.c \
       
    57 	    ../../../3rdparty/libjpeg/jdmerge.c \
       
    58 	    ../../../3rdparty/libjpeg/jdphuff.c \
       
    59 	    ../../../3rdparty/libjpeg/jdpostct.c \
       
    60 	    ../../../3rdparty/libjpeg/jdsample.c \
       
    61 	    ../../../3rdparty/libjpeg/jdtrans.c \
       
    62 	    ../../../3rdparty/libjpeg/jerror.c \
       
    63 	    ../../../3rdparty/libjpeg/jfdctflt.c \
       
    64 	    ../../../3rdparty/libjpeg/jfdctfst.c \
       
    65 	    ../../../3rdparty/libjpeg/jfdctint.c \
       
    66 	    ../../../3rdparty/libjpeg/jidctflt.c \
       
    67 	    ../../../3rdparty/libjpeg/jidctfst.c \
       
    68 	    ../../../3rdparty/libjpeg/jidctint.c \
       
    69 	    ../../../3rdparty/libjpeg/jidctred.c \
       
    70 	    ../../../3rdparty/libjpeg/jmemmgr.c \
       
    71 	    ../../../3rdparty/libjpeg/jquant1.c \
       
    72 	    ../../../3rdparty/libjpeg/jquant2.c \
       
    73 	    ../../../3rdparty/libjpeg/jutils.c \
       
    74 	    ../../../3rdparty/libjpeg/jmemnobs.c
       
    75 }
       
    76 
       
    77 QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/imageformats
       
    78 target.path += $$[QT_INSTALL_PLUGINS]/imageformats
       
    79 INSTALLS += target
       
    80