-
Notifications
You must be signed in to change notification settings - Fork 2
/
harbour-chatgpt.pro
73 lines (64 loc) · 2.11 KB
/
harbour-chatgpt.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
# 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-chatgpt
CONFIG += sailfishapp
PKGCONFIG += sailfishsecrets sailfishcrypto
QT += sql
SOURCES += src/harbour-chatgpt.cpp \
src/chat.cpp \
src/chatmessage.cpp \
src/chatstorage.cpp \
src/databasemanager.cpp \
src/localehelper.cpp \
src/logginghandler.cpp \
src/logsexporter.cpp \
src/openaiclient.cpp \
src/secretshandler.cpp \
src/settings.cpp
DISTFILES += qml/harbour-chatgpt.qml \
qml/components/Toaster.qml \
qml/cover/CoverPage.qml \
qml/pages/ApiKeyHelpPage.qml \
qml/pages/ChangeChatTitleDialog.qml \
qml/pages/ChatDetailPage.qml \
qml/pages/ChatListPage.qml \
qml/pages/ConfirmSettingDialog.qml \
qml/pages/InitialChecksPage.qml \
qml/pages/LoginPage.qml \
qml/pages/LogsPage.qml \
qml/pages/SettingsPage.qml \
rpm/harbour-chatgpt.changes.in \
rpm/harbour-chatgpt.changes.run.in \
rpm/harbour-chatgpt.spec \
translations/*.ts \
harbour-chatgpt.desktop
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172
# to disable building translations every time, comment out the
# following CONFIG line
CONFIG += sailfishapp_i18n
TRANSLATIONS += translations/harbour-chatgpt-cs.ts \
translations/harbour-chatgpt-sv.ts \
translations/harbour-chatgpt-pl.ts
DEFINES += "APP_TRANSLATIONS=\"\\\"$$TRANSLATIONS\\\"\""
DEFINES += "LOCALIZATIONS_DIR=\\\"/usr/share/$$TARGET/translations\\\""
HEADERS += \
src/chat.h \
src/chatmessage.h \
src/chatstorage.h \
src/databasemanager.h \
src/localehelper.h \
src/logginghandler.h \
src/logsexporter.h \
src/openaiclient.h \
src/secretshandler.h \
src/settings.h \
src/uuidhelper.h