summaryrefslogtreecommitdiffstats
path: root/plugins/src/imageformats/jpeg/jpeg.pro
blob: 3bff1e09868b311cd7762a681bccc183194f1a5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
TEMPLATE = lib
TARGET  += qjpeg

CONFIG  += qt plugin
DESTDIR  = ../../../imageformats

VERSION = 1.0.0
REQUIRES = !no-jpeg !jpeg

SOURCES += main.cpp
system-jpeg {
        unix:LIBS += -ljpeg
        win32:LIBS += libjpeg.lib
}
!system-jpeg {
	INCLUDEPATH += ../../../../src/3rdparty/libjpeg
	SOURCES  += \
	    ../../../../src/3rdparty/libjpeg/jcapimin.c \
	    ../../../../src/3rdparty/libjpeg/jcapistd.c \
	    ../../../../src/3rdparty/libjpeg/jccoefct.c \
	    ../../../../src/3rdparty/libjpeg/jccolor.c \
	    ../../../../src/3rdparty/libjpeg/jcdctmgr.c \
	    ../../../../src/3rdparty/libjpeg/jchuff.c \
	    ../../../../src/3rdparty/libjpeg/jcinit.c \
	    ../../../../src/3rdparty/libjpeg/jcmainct.c \
	    ../../../../src/3rdparty/libjpeg/jcmarker.c \
	    ../../../../src/3rdparty/libjpeg/jcmaster.c \
	    ../../../../src/3rdparty/libjpeg/jcomapi.c \
	    ../../../../src/3rdparty/libjpeg/jcparam.c \
	    ../../../../src/3rdparty/libjpeg/jcphuff.c \
	    ../../../../src/3rdparty/libjpeg/jcprepct.c \
	    ../../../../src/3rdparty/libjpeg/jcsample.c \
	    ../../../../src/3rdparty/libjpeg/jctrans.c \
	    ../../../../src/3rdparty/libjpeg/jdapimin.c \
	    ../../../../src/3rdparty/libjpeg/jdapistd.c \
	    ../../../../src/3rdparty/libjpeg/jdatadst.c \
	    ../../../../src/3rdparty/libjpeg/jdatasrc.c \
	    ../../../../src/3rdparty/libjpeg/jdcoefct.c \
	    ../../../../src/3rdparty/libjpeg/jdcolor.c \
	    ../../../../src/3rdparty/libjpeg/jddctmgr.c \
	    ../../../../src/3rdparty/libjpeg/jdhuff.c \
	    ../../../../src/3rdparty/libjpeg/jdinput.c \
	    ../../../../src/3rdparty/libjpeg/jdmainct.c \
	    ../../../../src/3rdparty/libjpeg/jdmarker.c \
	    ../../../../src/3rdparty/libjpeg/jdmaster.c \
	    ../../../../src/3rdparty/libjpeg/jdmerge.c \
	    ../../../../src/3rdparty/libjpeg/jdphuff.c \
	    ../../../../src/3rdparty/libjpeg/jdpostct.c \
	    ../../../../src/3rdparty/libjpeg/jdsample.c \
	    ../../../../src/3rdparty/libjpeg/jdtrans.c \
	    ../../../../src/3rdparty/libjpeg/jerror.c \
	    ../../../../src/3rdparty/libjpeg/jfdctflt.c \
	    ../../../../src/3rdparty/libjpeg/jfdctfst.c \
	    ../../../../src/3rdparty/libjpeg/jfdctint.c \
	    ../../../../src/3rdparty/libjpeg/jidctflt.c \
	    ../../../../src/3rdparty/libjpeg/jidctfst.c \
	    ../../../../src/3rdparty/libjpeg/jidctint.c \
	    ../../../../src/3rdparty/libjpeg/jidctred.c \
	    ../../../../src/3rdparty/libjpeg/jmemmgr.c \
	    ../../../../src/3rdparty/libjpeg/jquant1.c \
	    ../../../../src/3rdparty/libjpeg/jquant2.c \
	    ../../../../src/3rdparty/libjpeg/jutils.c \
	    ../../../../src/3rdparty/libjpeg/jmemnobs.c
}


target.path += $$plugins.path/imageformats
INSTALLS += target