-
Notifications
You must be signed in to change notification settings - Fork 30
/
QSyncthingTray.pro
54 lines (53 loc) · 1.92 KB
/
QSyncthingTray.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
HEADERS = includes/qst/window.h \
includes/qst/appsettings.hpp \
includes/qst/syncconnector.h \
includes/platforms/darwin/macUtils.hpp \
includes/platforms/windows/winUtils.hpp \
includes/platforms/linux/posixUtils.hpp \
includes/qst/processcontroller.h \
includes/qst/processmonitor.hpp \
includes/qst/platforms.hpp \
includes/qst/apihandler.hpp \
includes/qst/startuptab.hpp \
includes/qst/statswidget.h \
includes/qst/syncwebview.h \
includes/qst/syncwebpage.h \
includes/qst/utilities.hpp \
includes/qst/updatenotifier.h \
includes/contrib/qcustomplot.h
SOURCES = sources/qst/main.cpp \
sources/qst/window.cpp \
sources/qst/syncconnector.cpp \
sources/qst/processcontroller.cpp \
sources/qst/processmonitor.cpp \
sources/qst/startuptab.cpp \
sources/qst/statswidget.cpp \
sources/qst/syncwebview.cpp \
sources/qst/syncwebpage.cpp \
sources/qst/updatenotifier.cpp \
sources/contrib/qcustomplot.cpp
RESOURCES = \
resources/qsyncthing.qrc \
resources/qsyncthingblueanim.qrc \
resources/qsyncthingdarkanim.qrc
QT += widgets
QT += network
QT += webenginewidgets
QT += printsupport
INCLUDEPATH += $$PWD/includes/
# install
target.path = binary/
INSTALLS += target
CONFIG += c++11
macx {
QMAKE_INFO_PLIST = resources/Info.plist
LIBS += -framework ApplicationServices
LIBS += -framework Cocoa
SOURCES += sources/platforms/darwin/macUtils.mm
}
#QMAKE_CXXFLAGS += /wd4996
ICON = resources/Syncthing.icns
macx {
APP_BINARY_FILES.path = Contents/Resources
QMAKE_BUNDLE_DATA += APP_BINARY_FILES
}