forked from QNapi/qnapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gui.pro
114 lines (99 loc) · 2.92 KB
/
gui.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
TEMPLATE = app
CONFIG += warn_on qt resources silent c++11
QT += core network xml gui widgets
SOURCES += src/main.cpp \
src/forms/frmprogress.cpp \
src/forms/frmlistsubtitles.cpp \
src/forms/frmsummary.cpp \
src/forms/frmscan.cpp \
src/forms/frmoptions.cpp \
src/forms/frmabout.cpp \
src/forms/frmnapiprojektconfig.cpp \
src/forms/frmopensubtitlesconfig.cpp \
src/forms/frmnapisy24config.cpp \
src/forms/frmconvert.cpp \
src/forms/subdatawidget.cpp \
src/qcumber/qmanagedrequest.cpp \
src/qcumber/qmanagedsocket.cpp \
src/qcumber/qsingleapplication.cpp \
src/qnapiopendialog.cpp \
src/qnapiapp.cpp \
src/guimain.cpp
HEADERS += src/forms/frmprogress.h \
src/forms/frmlistsubtitles.h \
src/forms/frmsummary.h \
src/forms/frmscan.h \
src/forms/frmoptions.h \
src/forms/frmabout.h \
src/forms/frmnapiprojektconfig.h \
src/forms/frmopensubtitlesconfig.h \
src/forms/frmnapisy24config.h \
src/forms/frmconvert.h \
src/forms/subdatawidget.h \
src/qcumber/qmanagedrequest.h \
src/qcumber/qmanagedsocket.h \
src/qcumber/qsingleapplication.h \
src/qcumber/qcumber.h \
src/qcheckedlistwidget.h \
src/qnapithread.h \
src/qnapiopendialog.h \
src/qnapiapp.h \
src/guimain.h
FORMS += ui/frmprogress.ui \
ui/frmlistsubtitles.ui \
ui/frmsummary.ui \
ui/frmscan.ui \
ui/frmoptions.ui \
ui/frmabout.ui \
ui/frmconvert.ui \
ui/subDataWidget.ui \
ui/napiprojekt/frmnapiprojektconfig.ui \
ui/opensubtitles/frmopensubtitlesconfig.ui \
ui/napisy24/frmnapisy24config.ui
RESOURCES += res/resources.qrc
UI_DIR = tmp
MOC_DIR = tmp
RCC_DIR = tmp
OBJECTS_DIR = tmp
INCLUDEPATH = src
include(../qnapi.pri)
include(../libqnapi/libqnapi.pri)
unix:!macx {
TARGET = qnapi
DESTDIR = ../
CONFIG += link_pkgconfig
PKGCONFIG += libmediainfo
}
macx {
SOURCES += src/utils/infoplistdockicon.cpp
HEADERS += src/utils/infoplistdockicon.h
TARGET = QNapi
DESTDIR = $${OUTDIR}
LIBS += -framework CoreFoundation
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
QMAKE_CXXFLAGS_X86_64 = -mmacosx-version-min=10.8
ICON = $${OUTDIR}/qnapi.icns
QMAKE_INFO_PLIST = $${OUTDIR}/Info.plist
7ZIP_BINARY.files = $${OUTDIR}/content/7za
7ZIP_BINARY.path = Contents/Resources
LIBMEDIAINFO.files = ../deps/libmediainfo/lib/libmediainfo.0.dylib
LIBMEDIAINFO.path = Contents/MacOS
QMAKE_BUNDLE_DATA += 7ZIP_BINARY LIBMEDIAINFO
}
!win32 {
SOURCES += src/qcumber/qinterprocesschannel.cpp
HEADERS += src/qcumber/qinterprocesschannel.h
!macx {
target.path = $${INSTALL_PREFIX}/bin
INSTALLS += target
}
}
win32 {
CONFIG += nostrip
SOURCES += src/qcumber/qinterprocesschannel_win32.cpp
HEADERS += src/qcumber/qinterprocesschannel_win32.h
RC_FILE = $${OUTDIR}/qnapi.rc
TARGET = qnapi
target.path = $${INSTALL_PREFIX}
INSTALLS += target
}