forked from flameshot-org/flameshot
-
Notifications
You must be signed in to change notification settings - Fork 1
/
flameshot.pro
98 lines (77 loc) · 2.78 KB
/
flameshot.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
#-------------------------------------------------
#
# Project created by Dharkael 2017-04-21T00:42:49
#
#-------------------------------------------------
QT += core gui
QT += dbus
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
CONFIG += link_pkgconfig
TARGET = flameshot
TEMPLATE = app
TRANSLATIONS = translation/Internationalization_es.ts
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as 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(src/singleapplication/singleapplication.pri)
include(src/Qt-Color-Widgets//color_widgets.pri)
DEFINES += QAPPLICATION_CLASS=QApplication
SOURCES += src/main.cpp\
src/controller.cpp \
src/capture/button.cpp \
src/capture/buttonhandler.cpp \
src/infowindow.cpp \
src/config/configwindow.cpp \
src/capture/screenshot.cpp \
src/capture/capturewidget.cpp \
src/capture/capturemodification.cpp \
src/capture/colorpicker.cpp \
src/config/buttonlistview.cpp \
src/config/uicoloreditor.cpp \
src/config/geneneralconf.cpp \
src/flameshotdbusadapter.cpp \
src/config/clickablelabel.cpp
HEADERS += \
src/controller.h \
src/capture/button.h \
src/capture/buttonhandler.h \
src/infowindow.h \
src/config/configwindow.h \
src/capture/screenshot.h \
src/capture/capturewidget.h \
src/capture/capturemodification.h \
src/capture/colorpicker.h \
src/config/buttonlistview.h \
src/config/uicoloreditor.h \
src/config/geneneralconf.h \
src/flameshotdbusadapter.h \
src/config/clickablelabel.h
RESOURCES += \
graphics.qrc
# installs
unix: {
target.path = /usr/local/bin/
qmfile.path = /usr/share/flameshot/translations/
qmfile.files = translation/Internationalization_es.qm
servicedbus.path = /usr/share/dbus-1/services/
servicedbus.files = dbus/org.dharkael.Flameshot.service
dbus.path = /usr/share/dbus-1/interfaces/
dbus.files = dbus/org.dharkael.Flameshot.xml
icon.path = /usr/local/share/icons/
icon.files = img/flameshot.png
desktopentry.path = /usr/local/share/applications
desktopentry.files = docs/desktopEntry/make/flameshot.desktop
INSTALLS += target \
icon \
desktopentry \
qmfile \
servicedbus \
dbus
}