-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathharbour-sailfishclub.pro
162 lines (129 loc) · 4.92 KB
/
harbour-sailfishclub.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# NOTICE:
#
# Application name defined in TARGET has a corresponding QML filename.
# If name defined in TARGET is changed, the following needs to be done
# to match new name:
# - corresponding QML filename must be changed
# - desktop icon filename must be changed
# - desktop filename must be changed
# - icon definition filename in desktop file must be changed
# - translation filenames have to be changed
# The name of your application
TARGET = harbour-sailfishclub
QT += dbus quick
CONFIG += sailfishapp link_pkgconfig
PKGCONFIG += sailfishapp
QMAKE_CXXFLAGS += -Wno-unused-parameter -Wno-psabi
QMAKE_CFLAGS += -Wno-unused-parameter
LIBS += -ldl
# Directories
HARBOUR_LIB_REL = harbour-lib
HARBOUR_LIB_DIR = $${_PRO_FILE_PWD_}/$${HARBOUR_LIB_REL}
HARBOUR_LIB_INCLUDE = $${HARBOUR_LIB_DIR}/include
HARBOUR_LIB_SRC = $${HARBOUR_LIB_DIR}/src
INCLUDEPATH += \
src \
$${HARBOUR_LIB_INCLUDE}
SOURCES += src/harbour-sailfishclub.cpp \
src/settings.cpp \
src/cache.cpp \
src/FoilPicsGalleryPlugin.cpp
DEFINES += Q_OS_SAILFISH
OTHER_FILES += qml/harbour-sailfishclub.qml \
qml/cover/CoverPage.qml \
qml/pages/FirstPage.qml \
qml/pages/Signalcenter.qml \
qml/pages/NavigationPanel.qml \
qml/pages/objects/UserInfo.qml \
qml/pages/objects/TopicInfo.qml \
qml/js/main.js \
qml/pages/LoginDialog.qml \
qml/components/HorizontalIconTextButton.qml \
qml/components/ImagePage.qml \
qml/components/LabelText.qml \
qml/components/TextCollapsible.qml \
qml/components/Panel.qml \
qml/components/PanelView.qml \
qml/pages/RegisterPage.qml \
qml/components/LoginComponent.qml \
qml/components/RegisterComponent.qml \
qml/components/TopicHeader.qml \
qml/components/FontAvatar.qml \
qml/components/Avatar.qml \
qml/components/MaskImage.qml \
qml/components/CommentField.qml \
qml/pages/AboutPage.qml \
qml/components/TabButton.qml \
qml/components/TopicToolBar.qml \
qml/pages/CategoriesPage.qml \
qml/pages/NotificationsPage.qml \
qml/components/ActivityTopicBanner.qml \
qml/js/ApiCore.js \
qml/js/ApiMain.js \
qml/js/twemoji.js \
qml/js/emoji/*.svg \
qml/cacert.pem \
qml/pages/TopicPage.qml \
qml/components/HorizontalFontAwesomeTextButton.qml \
rpm/harbour-sailfishclub.spec \
rpm/harbour-sailfishclub.yaml \
translations/harbour-sailfishclub.ts \
translations/harbour-sailfishclub-zh_CN.ts \
harbour-sailfishclub.desktop
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172 256x256
# to disable building translations every time, comment out the
# following CONFIG line
CONFIG += sailfishapp_i18n
# German translation is enabled as an example. If you aren't
# planning to localize your app, remember to comment out the
# following TRANSLATIONS line. And also do not forget to
# modify the localized app name in the the .desktop file.
TRANSLATIONS += translations/harbour-sailfishclub.ts \
translations/harbour-sailfishclub-zh_CN.ts
RESOURCES += \
harbour-sailfishclub.qrc
HEADERS += \
src/settings.h \
src/cache.h \
src/FoilPicsGalleryPlugin.h
# harbour-lib
HEADERS += \
$${HARBOUR_LIB_INCLUDE}/HarbourDebug.h \
$${HARBOUR_LIB_INCLUDE}/HarbourImageProvider.h \
$${HARBOUR_LIB_INCLUDE}/HarbourPluginLoader.h \
$${HARBOUR_LIB_INCLUDE}/HarbourSystemState.h \
$${HARBOUR_LIB_INCLUDE}/HarbourTask.h \
$${HARBOUR_LIB_INCLUDE}/HarbourTheme.h \
$${HARBOUR_LIB_INCLUDE}/HarbourTransferMethodInfo.h \
$${HARBOUR_LIB_INCLUDE}/HarbourTransferMethodsModel.h \
$${HARBOUR_LIB_SRC}/HarbourMce.h
SOURCES += \
$${HARBOUR_LIB_SRC}/HarbourImageProvider.cpp \
$${HARBOUR_LIB_SRC}/HarbourMce.cpp \
$${HARBOUR_LIB_SRC}/HarbourPluginLoader.cpp \
$${HARBOUR_LIB_SRC}/HarbourSystemState.cpp \
$${HARBOUR_LIB_SRC}/HarbourTask.cpp \
$${HARBOUR_LIB_SRC}/HarbourTheme.cpp \
$${HARBOUR_LIB_SRC}/HarbourTransferMethodInfo.cpp \
$${HARBOUR_LIB_SRC}/HarbourTransferMethodsModel.cpp
DISTFILES += \
qml/pages/PostPage.qml \
qml/components/HtmlTagButton.qml \
qml/components/ImagePreviewGrid.qml \
qml/components/ShareToPage.qml \
rpm/harbour-sailfishclub.changes \
qml/components/ImageHandle.qml \
qml/components/TextDelegate.qml \
qml/components/ImageDelegate.qml \
qml/components/AnimatedImageDelegate.qml \
qml/components/WebviewDelegate.qml \
qml/pages/SearchPage.qml \
qml/components/UnOfficalBlogListComponent.qml \
qml/pages/UnOfficalCNBlog.qml \
qml/pages/UnOfficalBlogContent.qml \
qml/pages/PreviewPage.qml \
qml/components/ShareMethodList.qml \
qml/components/TopicReplies.qml
#dbus.files = dbus/harbour.sailfishclub.service
#dbus.path = $$INSTALL_ROOT/usr/share/dbus-1/services
#INSTALLS += dbus