Repository navigation
Expand file tree
/
Copy pathCapturer.pro
More file actions
111 lines (94 loc) · 2.88 KB
/
Copy pathCapturer.pro
File metadata and controls
111 lines (94 loc) · 2.88 KB
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
#-------------------------------------------------
#
# Project created by QtCreator 2018-01-23T19:30:36
#
#-------------------------------------------------
QT += core gui webenginewidgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = Capturer
TEMPLATE = app
CONFIG += c++14
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
include(3rdparty/qxtglobalshortcut/qxt.pri)
INCLUDEPATH += \
$$PWD/core \
$$PWD/snip \
$$PWD/video \
$$PWD/gif \
$$PWD/setting \
$$PWD/3rdparty
SOURCES += \
$$PWD/main.cpp \
$$PWD/capturer.cpp \
$$PWD/core/imagewindow.cpp \
$$PWD/core/shortcutinput.cpp \
$$PWD/core/magnifier.cpp \
$$PWD/core/info.cpp \
$$PWD/core/selector.cpp \
$$PWD/snip/mainmenu.cpp \
$$PWD/snip/graphmenu.cpp \
$$PWD/snip/screenshoter.cpp \
$$PWD/video/record_menu.cpp \
$$PWD/video/screenrecorder.cpp \
$$PWD/gif/gifcapturer.cpp \
$$PWD/setting/settingdialog.cpp \
$$PWD/core/colorbutton.cpp \
$$PWD/core/textedit.cpp \
$$PWD/snip/fontmenu.cpp \
$$PWD/snip/command.cpp \
$$PWD/core/config.cpp
HEADERS += \
$$PWD/core/webview.h \
$$PWD/capturer.h \
$$PWD/core/magnifier.h \
$$PWD/core/detectwidgets.h \
$$PWD/core/info.h \
$$PWD/core/imagewindow.h \
$$PWD/core/shortcutinput.h \
$$PWD/core/selector.h \
$$PWD/snip/mainmenu.h \
$$PWD/snip/graphmenu.h \
$$PWD/snip/screenshoter.h \
$$PWD/video/record_menu.h \
$$PWD/video/screenrecorder.h \
$$PWD/gif/gifcapturer.h \
$$PWD/setting/settingdialog.h \
$$PWD/3rdparty/json.hpp \
$$PWD/core/colorbutton.h \
$$PWD/core/textedit.h \
$$PWD/snip/fontmenu.h \
$$PWD/snip/command.h \
$$PWD/core/config.h \
$$PWD/core/resizer.h
RC_ICONS = $$PWD/res/icon.ico
# Linux
unix:!macx {
SOURCES += $$PWD/core/detectwidgets/detectwidgets_x11.cpp
}
# OS X
macx: {
SOURCES += $$PWD/core/detectwidgets/detectwidgets_mac.cpp
}
# Windows
win32: {
SOURCES += $$PWD/core/detectwidgets/detectwidgets_win.cpp
LIBS += -ldwmapi
}
RESOURCES += capturer.qrc
#
msvc: {
QMAKE_CXXFLAGS += -execution-charset:utf-8 \
-source-charset:utf-8
}
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target