-
Notifications
You must be signed in to change notification settings - Fork 8
/
diffpdf.pro
69 lines (69 loc) · 2.11 KB
/
diffpdf.pro
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
# NOTES.txt
# CHANGES
# README
# help.html
# diffpdf.1
#DEFINES += DEBUG
HEADERS += mainwindow.hpp
SOURCES += mainwindow.cpp
HEADERS += textitem.hpp
SOURCES += textitem.cpp
HEADERS += aboutform.hpp
SOURCES += aboutform.cpp
HEADERS += optionsform.hpp
SOURCES += optionsform.cpp
HEADERS += helpform.hpp
SOURCES += helpform.cpp
HEADERS += saveform.hpp
SOURCES += saveform.cpp
HEADERS += generic.hpp
SOURCES += generic.cpp
HEADERS += sequence_matcher.hpp
SOURCES += sequence_matcher.cpp
SOURCES += main.cpp
HEADERS += lineedit.hpp
SOURCES += lineedit.cpp
HEADERS += label.hpp
SOURCES += label.cpp
RESOURCES += resources.qrc
TRANSLATIONS += diffpdf_cz.ts
TRANSLATIONS += diffpdf_fr.ts
TRANSLATIONS += diffpdf_de.ts
CODECFORTR = UTF-8
LIBS += -lpoppler-qt4
win32 {
CONFIG += release
}
exists($(HOME)/opt/poppler020/) {
message(Using locally built Poppler library)
INCLUDEPATH += $(HOME)/opt/poppler020/include/poppler/cpp
INCLUDEPATH += $(HOME)/opt/poppler020/include/poppler/qt4
LIBS += -Wl,-rpath -Wl,$(HOME)/opt/poppler020/lib -L$(HOME)/opt/poppler020/lib
} else {
exists(/poppler_lib) {
message(Using locally built Poppler library on Windows)
INCLUDEPATH += /c/poppler_lib/include/poppler/cpp
INCLUDEPATH += /c/poppler_lib/include/poppler/qt4
LIBS += -Wl,-rpath -Wl,/c/poppler_lib/bin -Wl,-L/c/poppler_lib/bin
} else {
exists(/usr/include/poppler/qt4) {
INCLUDEPATH += /usr/include/poppler/cpp
INCLUDEPATH += /usr/include/poppler/qt4
} else {
INCLUDEPATH += /usr/local/include/poppler/cpp
INCLUDEPATH += /usr/local/include/poppler/qt4
}
}
}
#exists($(HOME)/opt/podofo09/) {
# message(Using locally built PoDoFo library)
# INCLUDEPATH += $(HOME)/opt/podofo09/include/poppler/cpp
# INCLUDEPATH += $(HOME)/opt/podofo09/include/poppler/qt4
# LIBS += -Wl,-rpath -Wl,$(HOME)/opt/podofo09/lib64 -Wl,-L$(HOME)/opt/podofo09/lib64
#} else {
# exists(/usr/include/podofo) {
# INCLUDEPATH += /usr/include/podofo
# } else {
# INCLUDEPATH += /usr/local/include/podofo
# }
#}