-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSynkron.pro
104 lines (100 loc) · 2.9 KB
/
Synkron.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
TEMPLATE = app
QT += network xml widgets
INCLUDEPATH += src
HEADERS += src/mainwindow.h \
src/syncpage.h \
src/mtfile.h \
src/mtadvancedgroupbox.h \
src/extendedlineedit.h \
src/extendedlistwidget.h \
src/extendedtreewidget.h \
src/syncfolders.h \
src/mtstringset.h \
src/mtpathdialogue.h \
src/mtdictionary.h
FORMS += ui/mainwindow.ui \
ui/about.ui \
ui/multisyncpage.ui \
ui/syncviewitem.ui
SOURCES += src/main.cpp \
src/sync.cpp \
src/restore.cpp \
src/blacklist.cpp \
src/multisync.cpp \
src/scheduler.cpp \
src/filters.cpp \
src/mtfile.cpp \
src/syncfolders.cpp \
src/syncview.cpp \
src/analyse.cpp \
src/tabs.cpp \
src/other.cpp \
src/settings.cpp \
src/syncdb.cpp \
src/mainwindow.cpp
RESOURCES += resources.qrc
DESTDIR = ./
unix {
OBJECTS_DIR = .build.unix/
MOC_DIR = .build.unix/
RCC_DIR = .build.unix/
}
unix:!macx {
DEFINES += USE_UNIX_TOUCH_COMMAND
TARGET = synkron
isEmpty(prefix):prefix = /usr/local
isEmpty(PREFIX):PREFIX = $$prefix
BINDIR = $$PREFIX/bin
DATADIR = $$PREFIX/share
INSTALLS = target \
desktop \
pixmaps \
target.path = $$BINDIR
desktop.path = $$DATADIR/applications/
desktop.files += $${TARGET}.desktop
pixmaps.path = $$DATADIR/pixmaps/
pixmaps.files += images/Synkron128.png
}
macx {
# Comment the following line to use the NSFileManager class
# to perform copy operations instead of QFile + /usr/bin/touch:
DEFINES += USE_UNIX_TOUCH_COMMAND
SOURCES += ./src/mtfile_macx.mm
LIBS += -framework Carbon
ICON = images/Synkron128.icns
icons.path = Contents/Resources
icons.files = images/slist.icns
QMAKE_BUNDLE_DATA += icons
CONFIG += x86
CONFIG += sdk_no_version_check
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.14
QMAKE_MAC_SDK = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
}
win32 {
# If not commented, the following line ensures that Synkron is compiled
# as a portable app. More info at portableapps.com
# DEFINES += PORTABLE_APP
OBJECTS_DIR = .build.win32/
MOC_DIR = .build.win32/
RCC_DIR = .build.win32/
RC_FILE = Synkron.rc
}
CONFIG += lrelease embed_translations
TRANSLATIONS += i18n/Synkron-i18n.ts \
i18n/Synkron-Arabic.ts \
i18n/Synkron-Brazilian_Portuguese.ts \
i18n/Synkron-Chinese.ts \
i18n/Synkron-Czech.ts \
i18n/Synkron-Dutch.ts \
i18n/Synkron-Finnish.ts \
i18n/Synkron-French.ts \
i18n/Synkron-German.ts \
i18n/Synkron-Italian.ts \
i18n/Synkron-Japanese.ts \
i18n/Synkron-Polish.ts \
i18n/Synkron-Russian.ts \
i18n/Synkron-Slovak.ts \
i18n/Synkron-Spanish.ts \
i18n/Synkron-Valencian.ts \
i18n/Synkron-Romanian.ts \
i18n/Synkron-Turkish.ts