-
Notifications
You must be signed in to change notification settings - Fork 0
/
PDF_processing.pro
48 lines (36 loc) · 899 Bytes
/
PDF_processing.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
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = PDF_processing
TEMPLATE = app
#CONFIG += console c++11
#CONFIG -= app_bundle
#CONFIG -= qt
DEFINES += QT_DEPRECATED_WARNINGS
SOURCES += \
main.cpp \
mainwindow.cpp \
processall.cpp
defineTest(copyToDestdir) {
files = $$1
for(FILE, files) {
DDIR = $$OUT_PWD
# Replace slashes in paths with backslashes for Windows
win32:FILE ~= s,/,\\,g
win32:DDIR ~= s,/,\\,g
QMAKE_POST_LINK += $$QMAKE_COPY $$quote($$FILE) $$quote($$DDIR) $$escape_expand(\\n\\t)
}
export(QMAKE_POST_LINK)
}
copyToDestdir($$PWD/pdftotext)
copyToDestdir($$PWD/stanford-ner.jar)
copyToDestdir($$PWD/class.crf.ser.gz)
HEADERS += \
paper.h \
stringrelative.h \
txt.h \
findinfo.h \
mainwindow.h \
processall.h \
export.h
FORMS += \
mainwindow.ui