forked from Sankore/Sankore-ThirdParty
-
Notifications
You must be signed in to change notification settings - Fork 0
/
libs.pri
72 lines (55 loc) · 1.57 KB
/
libs.pri
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
69
70
linux-g++ {
SUB_LIB = "linux"
}
linux-g++-32 {
SUB_LIB = "linux"
}
linux-g++-64 {
SUB_LIB = "linux"
}
macx {
SUB_LIB = "macx"
}
win32 {
SUB_LIB = "win32"
}
FREETYPE_DIR = "$PWD/freetype/freetype-2.4.6"
LIBS += "-L$$PWD/freetype/lib/$$SUB_LIB" "-lfreetype"
# no INCLUDEPATH, freetype is not used directly
QUAZIP_DIR = "$$PWD/quazip"
LIBS += "-L$$QUAZIP_DIR/lib/$$SUB_LIB" "-lquazip"
INCLUDEPATH += "$$PWD/zlib/1.2.3/include"
LIBS += "-L$$PWD/xpdf/lib/$$SUB_LIB" "-lxpdf"
XPDF_DIR = "$$PWD/xpdf/xpdf-3.03"
INCLUDEPATH += "$$XPDF_DIR"
INCLUDEPATH += "$$XPDF_DIR/goo"
INCLUDEPATH += "$$XPDF_DIR/splash"
linux-g++ {
LIBS += -lpaper -lt1
}
linux-g++-32 {
LIBS += -lpaper -lt1
}
linux-g++-64 {
LIBS += -lpaper -lt1
}
win32 {
LIBS += "-L$$PWD/openssl/0.9.8i/lib/VC/static" "-llibeay32MD"
INCLUDEPATH += "$$PWD/openssl/0.9.8i/include"
LIBS += "-lWmvcore"
LIBS += "-lWinmm"
# need those link if we want to change default printer and print usind shell command
LIBS += "-L$$PWD/microsoft/lib" "-lWinspool"
LIBS += "-L$$PWD/microsoft/lib" "-lshell32"
}
macx {
LIBS += "-framework QuickTime"
LIBS += "-framework QuartzCore"
LIBS += "-framework AudioToolbox"
LIBS += "-framework CoreAudio"
LIBS += "-framework ApplicationServices"
LIBS += "-framework Carbon"
LIBS += "-lcrypto"
LIBS += "$$PWD/unsanity/ape/APELite.o"
INCLUDEPATH += "$$PWD/unsanity/ape"
}