forked from KaidanIM/Kaidan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kaidan.pro
133 lines (116 loc) · 4.13 KB
/
Kaidan.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
TEMPLATE = app
QT += qml quick quickcontrols2 svg sql
android: QT += androidextras
CONFIG += c++11
SOURCES += \
src/main.cpp \
src/Kaidan.cpp \
src/ClientThread.cpp \
src/ClientWorker.cpp \
src/AvatarFileStorage.cpp \
src/Database.cpp \
src/RosterModel.cpp \
src/RosterManager.cpp \
src/RosterUpdater.cpp \
src/MessageHandler.cpp \
src/MessageSessionHandler.cpp \
src/MessageModel.cpp \
src/Notifications.cpp \
src/PresenceHandler.cpp \
src/ServiceDiscoveryManager.cpp \
src/VCardManager.cpp \
src/XmlLogHandler.cpp \
src/StatusBar.cpp
HEADERS += \
src/Database.h \
src/RosterModel.h \
src/XmlLogHandler.h \
src/RosterManager.h \
src/AvatarFileStorage.h \
src/ServiceDiscoveryManager.h \
src/RosterUpdater.h \
src/MessageSessionHandler.h \
src/MessageModel.h \
src/Notifications.h \
src/PresenceHandler.h \
src/MessageHandler.h \
src/Kaidan.h \
src/ClientThread.h \
src/ClientWorker.h \
src/VCardManager.h \
src/Globals.h \
src/Enums.h \
src/StatusBar.h
android: INCLUDEPATH += $$PWD/3rdparty/gloox/include
android: LIBS += -L$$PWD/3rdparty/gloox/lib/
android: LIBS += -L$$PWD/3rdparty/openssl/lib/
LIBS += -lgloox -lssl -lcrypto
include(3rdparty/kirigami/kirigami.pri)
RESOURCES += kaidan_qml.qrc i18n/0_i18n.qrc data/images/images.qrc
TRANSLATIONS += \
i18n/base.ts \
i18n/de.ts \
i18n/es.ts \
i18n/fr.ts \
i18n/ja.ts \
i18n/ms.ts \
i18n/nb.ts \
i18n/nl.ts \
i18n/ru.ts \
i18n/pt.ts
DEFINES += QMAKE_BUILD
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH = $$PWD/src/qml $$PWD/3rdparty/kirigami/src
# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH = $$PWD/src/qml $$PWD/3rdparty/kirigami/src
# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
DISTFILES += \
misc/android/AndroidManifest.xml \
misc/android/gradle/wrapper/gradle-wrapper.jar \
misc/android/gradlew \
misc/android/res/values/libs.xml \
misc/android/build.gradle \
misc/android/gradle/wrapper/gradle-wrapper.properties \
misc/android/gradlew.bat \
misc/android/AndroidManifest.xml \
misc/android/gradle/wrapper/gradle-wrapper.jar \
misc/android/gradlew \
misc/android/res/drawable/splash.xml \
misc/android/res/values/colors.xml \
misc/android/res/values/libs.xml \
misc/android/res/values/theme.xml \
misc/android/res/mipmap-hdpi/icon.png \
misc/android/res/mipmap-hdpi/logo.png \
misc/android/res/mipmap-ldpi/icon.png \
misc/android/res/mipmap-ldpi/logo.png \
misc/android/res/mipmap-mdpi/icon.png \
misc/android/res/mipmap-mdpi/logo.png \
misc/android/res/mipmap-xhdpi/icon.png \
misc/android/res/mipmap-xhdpi/logo.png \
misc/android/res/mipmap-xxhdpi/icon.png \
misc/android/res/mipmap-xxhdpi/logo.png \
misc/android/res/mipmap-xxxhdpi/icon.png \
misc/android/res/mipmap-xxxhdpi/logo.png \
misc/android/gradle/wrapper/gradle-wrapper.properties \
misc/android/build.gradle \
misc/android/gradlew.bat \
misc/android/gradle.properties \
misc/android/local.properties
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/misc/android
contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
ANDROID_EXTRA_LIBS = \
$$PWD/3rdparty/openssl/lib/libcrypto.so \
$$PWD/3rdparty/openssl/lib/libssl.so
}