-
Notifications
You must be signed in to change notification settings - Fork 25
/
telegramqml.pri
117 lines (111 loc) · 4.35 KB
/
telegramqml.pri
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
QT += qml quick sql xml multimedia
CONFIG += c++11
contains(DEFINES,TELEGRAMQML_QML_PLUGIN) {
win32 {
isEmpty(OPENSSL_LIB_DIR): OPENSSL_LIB_DIR = $${DESTDIR}
isEmpty(LIBQTELEGRAM_LIB_DIR): LIBQTELEGRAM_LIB_DIR = $$[QT_INSTALL_LIBS] $${DESTDIR}
isEmpty(OPENSSL_INCLUDE_PATH): OPENSSL_INCLUDE_PATH = $${DESTDIR}/include
isEmpty(LIBQTELEGRAM_INCLUDE_PATH): LIBQTELEGRAM_INCLUDE_PATH = $$[QT_INSTALL_HEADERS]/libqtelegram-ae $${DESTDIR}/include/libqtelegram-ae
LIBS += -L$${OPENSSL_LIB_DIR} -lssleay32 -lcrypto -lz -L$${LIBQTELEGRAM_LIB_DIR} -lqtelegram-ae
INCLUDEPATH += $${OPENSSL_INCLUDE_PATH} $${LIBQTELEGRAM_INCLUDE_PATH}
} else {
!macx: isEmpty(OPENSSL_INCLUDE_PATH): OPENSSL_INCLUDE_PATH = /usr/include /usr/local/include
isEmpty(LIBQTELEGRAM_INCLUDE_PATH): LIBQTELEGRAM_INCLUDE_PATH = $$[QT_INSTALL_HEADERS]/libqtelegram-ae /usr/include/libqtelegram-ae /usr/local/include/libqtelegram-ae
isEmpty(OPENSSL_LIB_DIR) {
LIBS += -lssl -lcrypto -lz
} else {
LIBS += -L$${OPENSSL_LIB_DIR} -lssl -lcrypto -lz
}
isEmpty(LIBQTELEGRAM_LIB_DIR) {
LIBS += -lqtelegram-ae
} else {
LIBS += -L$${LIBQTELEGRAM_LIB_DIR} -lqtelegram-ae
}
INCLUDEPATH += $${LIBQTELEGRAM_INCLUDE_PATH} $${OPENSSL_INCLUDE_PATH}
}
}
SOURCES += \
$$PWD/telegramengine.cpp \
$$PWD/telegramapp.cpp \
$$PWD/telegramhost.cpp \
$$PWD/telegramauthenticate.cpp \
$$PWD/tqobject.cpp \
$$PWD/telegramtools.cpp \
$$PWD/telegramqml_plugin.cpp \
$$PWD/telegramqmlinitializer.cpp \
$$PWD/telegramshareddatamanager.cpp \
$$PWD/telegramsharedpointer.cpp \
$$PWD/telegrammessagelistmodel.cpp \
$$PWD/telegramdialoglistmodel.cpp \
$$PWD/telegramenums.cpp \
$$PWD/telegramprofilemanagermodel.cpp \
$$PWD/telegramabstractenginelistmodel.cpp \
$$PWD/telegramabstractlistmodel.cpp \
$$PWD/telegramimageelement.cpp \
$$PWD/telegrampeerdetails.cpp \
$$PWD/telegramnotificationhandler.cpp \
$$PWD/telegrammessagefetcher.cpp \
$$PWD/private/telegramthumbnailercore.cpp \
$$PWD/private/telegramthumbnailer.cpp \
$$PWD/private/telegramfilelocation.cpp \
$$PWD/private/telegramuploadhandler.cpp \
$$PWD/private/telegramdownloadhandler.cpp \
$$PWD/telegramstickerscategoriesmodel.cpp \
$$PWD/telegramstickersmodel.cpp \
$$PWD/tqmldocumentexporter.cpp \
$$PWD/tqbaseobject.cpp \
$$PWD/telegrammessagesearchmodel.cpp \
$$PWD/telegramstatus.cpp \
$$PWD/telegramstatustyping.cpp \
$$PWD/telegramtesttools.cpp \
$$PWD/telegramtopmessagesmodel.cpp \
$$PWD/telegramcache.cpp \
$$PWD/telegrammemberslistmodel.cpp \
$$PWD/telegrammedialistmodel.cpp \
$$PWD/telegramauthstore.cpp \
$$PWD/telegramqmlsharedpointer.cpp
HEADERS += \
$$PWD/telegramqml_macros.h \
$$PWD/telegramqml_global.h \
$$PWD/telegramengine.h \
$$PWD/telegramapp.h \
$$PWD/telegramhost.h \
$$PWD/telegramauthenticate.h \
$$PWD/tqobject.h \
$$PWD/telegramtools.h \
$$PWD/telegramqml_plugin.h \
$$PWD/telegramqmlinitializer.h \
$$PWD/telegramshareddatamanager.h \
$$PWD/telegramsharedpointer.h \
$$PWD/telegrammessagelistmodel.h \
$$PWD/telegramdialoglistmodel.h \
$$PWD/telegramenums.h \
$$PWD/telegramprofilemanagermodel.h \
$$PWD/telegramabstractenginelistmodel.h \
$$PWD/telegramabstractlistmodel.h \
$$PWD/telegramimageelement.h \
$$PWD/telegrampeerdetails.h \
$$PWD/telegramnotificationhandler.h \
$$PWD/telegrammessagefetcher.h \
$$PWD/private/telegramthumbnailercore.h \
$$PWD/private/telegramthumbnailer.h \
$$PWD/private/telegramfilelocation.h \
$$PWD/private/telegramuploadhandler.h \
$$PWD/private/telegramdownloadhandler.h \
$$PWD/telegramstickerscategoriesmodel.h \
$$PWD/telegramstickersmodel.h \
$$PWD/tqmldocumentexporter.h \
$$PWD/tqbaseobject.h \
$$PWD/telegrammessagesearchmodel.h \
$$PWD/telegramstatus.h \
$$PWD/telegramstatustyping.h \
$$PWD/telegramtesttools.h \
$$PWD/telegramtopmessagesmodel.h \
$$PWD/telegramcache.h \
$$PWD/telegrammemberslistmodel.h \
$$PWD/telegrammedialistmodel.h \
$$PWD/telegramauthstore.h \
$$PWD/telegramqmlsharedpointer.h \
$$PWD/private/tqmlmessageobject.h
RESOURCES += \
$$PWD/tqmlresource.qrc