forked from arthurzam/dukto-qt5
-
Notifications
You must be signed in to change notification settings - Fork 2
/
dukto.pro
100 lines (82 loc) · 1.98 KB
/
dukto.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
QT += network qml quickwidgets
CONFIG += c++11
TARGET = dukto
TEMPLATE = app
DEFINES += UNICODE
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
VERSION = 6.0.0
unix {
target.path = /usr/bin
icon.path = /usr/share/pixmaps
icon.files = dukto.png
INSTALLS += icon
desktop.path = /usr/share/applications/
desktop.files = dukto.desktop
INSTALLS += desktop
}
# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp \
guibehind.cpp \
platform.cpp \
buddylistitemmodel.cpp \
duktoprotocol.cpp \
ipaddressitemmodel.cpp \
recentlistitemmodel.cpp \
settings.cpp \
destinationbuddy.cpp \
duktowindow.cpp \
theme.cpp \
updateschecker.cpp \
systemtray.cpp
HEADERS += \
guibehind.h \
platform.h \
buddylistitemmodel.h \
duktoprotocol.h \
peer.h \
ipaddressitemmodel.h \
recentlistitemmodel.h \
settings.h \
destinationbuddy.h \
duktowindow.h \
theme.h \
updateschecker.h \
systemtray.h
RESOURCES += \
qml.qrc \
qml/common/common.qrc
greaterThan(QT_MAJOR_VERSION, 5) {
RESOURCES += qml/new/main.qrc
} else {
lessThan(QT_MINOR_VERSION, 15) {
RESOURCES += qml/old/main.qrc
} else {
RESOURCES += qml/new/main.qrc
}
}
# FIXME: Site is down, no longer works
#DEFINES += UPDATER
DEFINES += SINGLE_APP
contains(DEFINES, SINGLE_APP) {
include(modules/SingleApplication/singleapplication.pri)
DEFINES += QAPPLICATION_CLASS=QApplication
}
# Get notifications from system tray
#DEFINES += NOTIFY_NATIVE_TRAY
OTHER_FILES += CMakeLists.txt
win32 {
RC_FILE = dukto.rc
msvc:LIBS += ws2_32.lib ole32.lib user32.lib
gcc:LIBS += -lws2_32 -lole32 -luser32
HEADERS += ecwin7.h
SOURCES += ecwin7.cpp
}
mac:ICON = dukto.icns
linux {
!contains(DEFINES, NOTIFY_NATIVE_TRAY) {
### libnotify
CONFIG+=link_pkgconfig
PKGCONFIG+=libnotify
DEFINES+=NOTIFY_LIBNOTIFY
}
}