-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathqvs.pro
272 lines (244 loc) · 8.47 KB
/
qvs.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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
#-------------------------------------------------
#
# Project created by QtCreator 2018-06-16T00:15:32
#
#-------------------------------------------------
QT += core gui winextras network webenginewidgets webchannel gui-private
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
include(./log4qt/log4qt.pri)
CONFIG += no_batch
TARGET = qvs
TEMPLATE = app
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += APP_NAME=\\\"'Qvs'\\\"
ARCHITECTURE_64_BIT = true
VER_MAJ = 1
VERSION = $$VER_MAJ
QMAKE_TARGET_PRODUCT = 'Qvs'
QMAKE_TARGET_DESCRIPTION = 'Qvs'
QMAKE_TARGET_COMPANY = 'ema'
QMAKE_TARGET_COPYRIGHT = $$QMAKE_TARGET_COMPANY
MOC_DIR = $$PWD/generated/moc
UI_DIR = $$PWD/generated/ui
RCC_DIR = $$PWD/generated/rcc
RC_ICONS = $$PWD/res/icons/qvs.ico
CONFIG(debug, debug|release) {
contains(QMAKE_COMPILER, gcc) {
if($$ARCHITECTURE_64_BIT) {
DESTDIR = $$PWD/build/debug-64bit-gcc
OBJECTS_DIR = $$PWD/generated/obj-debug-64bit-gcc
} else {
DESTDIR = $$PWD/build/debug-32bit-gcc
OBJECTS_DIR = $$PWD/generated/obj-debug-32bit-gcc
}
QMAKE_CXXFLAGS += -O0
QMAKE_CXXFLAGS += -g
QMAKE_CXXFLAGS += -ggdb3
}
contains(QMAKE_COMPILER, msvc) {
if($$ARCHITECTURE_64_BIT) {
DESTDIR = $$PWD/build/debug-64bit-msvc
TARGET = qvs-debug-64bit-msvc
OBJECTS_DIR = $$PWD/generated/obj-debug-64bit-msvc
} else {
DESTDIR = $$PWD/build/debug-32bit-msvc
TARGET = qvs-debug-32bit-msvc
OBJECTS_DIR = $$PWD/generated/obj-debug-32bit-msvc
}
}
#LIBS += -L$$PWD/opencv/lib -lopencv_world343d
LIBS += -L$$PWD/qtav/lib -lQtAVd1
LIBS += -L$$PWD/qtav/lib -lQtAVWidgetsd1
} else {
contains(QMAKE_COMPILER, gcc) {
if($$ARCHITECTURE_64_BIT) {
DESTDIR = $$PWD/build/release-64bit-gcc
OBJECTS_DIR = $$PWD/generated/obj-release-64bit-gcc
} else {
DESTDIR = $$PWD/build/release-32bit-gcc
OBJECTS_DIR = $$PWD/generated/obj-release-32bit-gcc
}
QMAKE_CXXFLAGS += -O2
QMAKE_CXXFLAGS += -fexpensive-optimizations
QMAKE_CXXFLAGS += -funit-at-a-time
}
contains(QMAKE_COMPILER, msvc) {
if($$ARCHITECTURE_64_BIT) {
DESTDIR = $$PWD/build/release-64bit-msvc
OBJECTS_DIR = $$PWD/generated/obj-release-64bit-msvc
} else {
DESTDIR = $$PWD/build/release-32bit-msvc
OBJECTS_DIR = $$PWD/generated/obj-release-32bit-msvc
}
}
#LIBS += -L$$PWD/opencv/lib -lopencv_world343
LIBS += -L$$PWD/qtav/lib -lQtAV1
LIBS += -L$$PWD/qtav/lib -lQtAVWidgets1
}
#INCLUDEPATH += $$PWD/opencv/include
#INCLUDEPATH += $$PWD/opencv/include/opencv
#INCLUDEPATH += $$PWD/opencv/include/opencv2
INCLUDEPATH += $$PWD/ffmpeg/include
#INCLUDEPATH += $$PWD/sdl/include
INCLUDEPATH += $$PWD/qtav/include
INCLUDEPATH += $$PWD/qtav/include/QtAV
INCLUDEPATH += $$PWD/qtav/include/QtAVWidgets
LIBS += -L$$PWD/ffmpeg/lib -lavcodec
LIBS += -L$$PWD/ffmpeg/lib -lavdevice
LIBS += -L$$PWD/ffmpeg/lib -lavfilter
LIBS += -L$$PWD/ffmpeg/lib -lavformat
LIBS += -L$$PWD/ffmpeg/lib -lavutil
LIBS += -L$$PWD/ffmpeg/lib -lpostproc
LIBS += -L$$PWD/ffmpeg/lib -lswresample
LIBS += -L$$PWD/ffmpeg/lib -lswscale
LIBS += -L$$PWD/ffmpeg/lib -lavcodec
#LIBS += -L$$PWD/sdl/lib -lSDL2
#LIBS += -L$$PWD/sdl/lib -lSDL2main
S = $${DIR_SEPARATOR}
D = $$DESTDIR
D = $$replace(D, $$escape_expand(\\), $$S)
D = $$replace(D, /, $$S)
E = $$escape_expand(\n\t)
win32 {
QT += winextras
DEPLOY_COMMAND = windeployqt
DEPLOY_TARGET = $$shell_quote($$shell_path($${D}/$${TARGET}.exe))
# DEPLOY_TARGET = $$shell_quote($$shell_path($${D}/$$QtWebEngineProcess.exe))
# QMAKE_POST_LINK += $${DEPLOY_COMMAND} --no-translations $${DEPLOY_TARGET} $${E}
if($$ARCHITECTURE_64_BIT) {
message("x86_64 build")
} else {
message("x86 build")
contains(QMAKE_COMPILER, gcc) {
QMAKE_LFLAGS += -Wl,--large-address-aware
}
contains(QMAKE_COMPILER, msvc) {
QMAKE_LFLAGS += /LARGEADDRESSAWARE
}
}
}
SOURCES += main.cpp
SOURCES += mainwindow.cpp
SOURCES += com/common.cpp
SOURCES += com/preferences.cpp
SOURCES += com/timer.cpp
SOURCES += com/mail_box.cpp
SOURCES += com/config.cpp
SOURCES += com/app_instance_local_connect.cpp
SOURCES += com/app_instance_file_guard.cpp
SOURCES += com/style_sheet.cpp
SOURCES += com/logging.cpp
SOURCES += com/line_parser.cpp
SOURCES += job/job_creator.cpp
SOURCES += job/job_creator_help.cpp
SOURCES += job/job_chef.cpp
SOURCES += job/job_view_cmd.cpp
SOURCES += tools/muxer.cpp
SOURCES += tools/std_watcher.cpp
SOURCES += tools/std_manager.cpp
SOURCES += tools/demuxer.cpp
SOURCES += tools/audio_enc.cpp
SOURCES += tools/audio_config.cpp
SOURCES += tools/audio_batch_enc.cpp
SOURCES += tools/installer_dialog.cpp
SOURCES += tools/merge.cpp
SOURCES += tools/splitter.cpp
SOURCES += tools/splitter_config.cpp
SOURCES += tools/single_image_video.cpp
SOURCES += preview/preview_dialog.cpp
SOURCES += preview/preview_image_dialog.cpp
SOURCES += preview/preview_area.cpp
SOURCES += preview/scroll_navigator.cpp
SOURCES += preview/statistics_view.cpp
SOURCES += preview/preview_timeline_slider.cpp
#SOURCES += preview/video_preview.cpp
SOURCES += mediainfo/mediainfo_prober.cpp
SOURCES += mediainfo/mediainfo_dialog.cpp
SOURCES += mediainfo/mediainfo_loader.cpp
SOURCES += mediainfo/mediainfo_list.cpp
SOURCES += mediainfo/mediainfo_id3.cpp
SOURCES += script/script_player.cpp
SOURCES += script/script_editor.cpp
SOURCES += script/syntax_highlighter.cpp
SOURCES += script/script_creator.cpp
SOURCES += script/number_matcher.cpp
SOURCES += script/script_blockly.cpp
SOURCES += script/blockly_scheme_handler.cpp
HEADERS += mainwindow.h
HEADERS += com/common.h
HEADERS += com/preferences.h
HEADERS += com/mail_box.h
HEADERS += com/timer.h
HEADERS += com/config.h
HEADERS += com/app_instance_local_connect.h
HEADERS += com/app_instance_file_guard.h
HEADERS += com/style_sheet.h
HEADERS += com/version.h
HEADERS += com/logging.h
HEADERS += com/line_parser.h
HEADERS += job/job_creator.h
HEADERS += job/job_creator_help.h
HEADERS += job/job_chef.h
HEADERS += job/job_view_cmd.h
HEADERS += job/job_cmdlist.h
HEADERS += job/job_item.h
HEADERS += tools/muxer.h
HEADERS += tools/std_watcher.h
HEADERS += tools/std_manager.h
HEADERS += tools/demuxer.h
HEADERS += tools/audio_enc.h
HEADERS += tools/audio_batch_enc.h
HEADERS += tools/installer_dialog.h
HEADERS += tools/audio_config.h
HEADERS += tools/merge.h
HEADERS += tools/splitter.h
HEADERS += tools/splitter_config.h
HEADERS += tools/single_image_video.h
HEADERS += preview/preview_dialog.h
HEADERS += preview/preview_image_dialog.h
HEADERS += preview/preview_area.h
HEADERS += preview/scroll_navigator.h
HEADERS += preview/statistics_view.h
HEADERS += preview/preview_timeline_slider.h
HEADERS += preview/video_info.hpp
HEADERS += preview/audio_info.hpp
#HEADERS += preview/video_preview.h
HEADERS += mediainfo/mediainfo_define.h
HEADERS += mediainfo/mediainfo_dialog.h
HEADERS += mediainfo/mediainfo_loader.h
HEADERS += mediainfo/mediainfo_list.h
HEADERS += mediainfo/mediainfo_enum.h
HEADERS += mediainfo/mediainfo_prober.h
HEADERS += mediainfo/mediainfo_pixfmt.hpp
HEADERS += mediainfo/mediainfo_id3.h
HEADERS += script/script_player.h
HEADERS += script/script_editor.h
HEADERS += script/syntax_highlighter.h
HEADERS += script/script_creator.h
HEADERS += script/number_matcher.h
HEADERS += script/script_blockly.h
HEADERS += script/blockly_scheme_handler.h
HEADERS += script/script_blockly_content.h
FORMS += mainwindow.ui
FORMS += com/preferences.ui
FORMS += job/job_creator.ui
FORMS += job/job_creator_help.ui
FORMS += job/job_view_cmd.ui
FORMS += mediainfo/mediainfo_dialog.ui
FORMS += script/script_player.ui
FORMS += script/script_creator.ui
FORMS += script/script_blockly.ui
FORMS += tools/installer_dialog.ui
FORMS += tools/muxer.ui
FORMS += tools/std_watcher.ui
FORMS += tools/demuxer.ui
FORMS += tools/audio_enc.ui
FORMS += tools/audio_batch_enc.ui
FORMS += tools/audio_config.ui
FORMS += tools/merge.ui
FORMS += tools/splitter.ui
FORMS += tools/splitter_config.ui
FORMS += tools/single_image_video.ui
FORMS += preview/preview_dialog.ui
FORMS += preview/preview_image_dialog.ui
RESOURCES += res/resources.qrc