Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
database/ | H | 03-May-2022 | - | 173 | 152 | |
debian/ | H | 12-Jan-2016 | - | 177 | 133 | |
demos/ | H | 12-Jan-2016 | - | 721 | 602 | |
objects/ | H | 12-Jan-2016 | - | 6,175 | 5,214 | |
qmake/ | H | 12-Jan-2016 | - | 10 | 8 | |
.gitignore | H A D | 12-Jan-2016 | 292 | 35 | 28 | |
LICENSE | H A D | 12-Jan-2016 | 34.3 KiB | 676 | 553 | |
README.md | H A D | 12-Jan-2016 | 2.5 KiB | 89 | 51 | |
backgroundmanager.cpp | H A D | 12-Jan-2016 | 2.8 KiB | 140 | 112 | |
backgroundmanager.h | H A D | 12-Jan-2016 | 1 KiB | 47 | 34 | |
chatparticipantlist.cpp | H A D | 12-Jan-2016 | 2.2 KiB | 100 | 63 | |
chatparticipantlist.h | H A D | 12-Jan-2016 | 1.7 KiB | 61 | 31 | |
database.cpp | H A D | 12-Jan-2016 | 7 KiB | 274 | 218 | |
database.h | H A D | 12-Jan-2016 | 2.5 KiB | 87 | 69 | |
databaseabstractencryptor.cpp | H A D | 12-Jan-2016 | 241 | 11 | 8 | |
databaseabstractencryptor.h | H A D | 12-Jan-2016 | 601 | 24 | 17 | |
databasecore.cpp | H A D | 12-Jan-2016 | 44.5 KiB | 1,390 | 1,139 | |
databasecore.h | H A D | 12-Jan-2016 | 4.1 KiB | 122 | 97 | |
dialogfilesmodel.cpp | H A D | 12-Jan-2016 | 3.6 KiB | 186 | 148 | |
dialogfilesmodel.h | H A D | 12-Jan-2016 | 1.4 KiB | 61 | 44 | |
documentattributelist.cpp | H A D | 12-Jan-2016 | 1.4 KiB | 69 | 55 | |
documentattributelist.h | H A D | 12-Jan-2016 | 1.1 KiB | 46 | 32 | |
mp3converterengine.cpp | H A D | 12-Jan-2016 | 2.1 KiB | 111 | 90 | |
mp3converterengine.h | H A D | 12-Jan-2016 | 1 KiB | 46 | 33 | |
newsletterdialog.cpp | H A D | 12-Jan-2016 | 144 | 9 | 6 | |
newsletterdialog.h | H A D | 12-Jan-2016 | 545 | 28 | 21 | |
photosizelist.cpp | H A D | 12-Jan-2016 | 2.4 KiB | 100 | 67 | |
photosizelist.h | H A D | 12-Jan-2016 | 1.7 KiB | 64 | 32 | |
plugins.qmltypes | H A D | 12-Jan-2016 | 67.5 KiB | 1,818 | 1,815 | |
profilesmodel.cpp | H A D | 12-Jan-2016 | 8.7 KiB | 411 | 312 | |
profilesmodel.h | H A D | 12-Jan-2016 | 3.4 KiB | 132 | 82 | |
qmldir | H A D | 12-Jan-2016 | 93 | 6 | 4 | |
stickersmodel.cpp | H A D | 12-Jan-2016 | 7.5 KiB | 321 | 258 | |
stickersmodel.h | H A D | 12-Jan-2016 | 2.3 KiB | 83 | 63 | |
tagfiltermodel.cpp | H A D | 12-Jan-2016 | 3.5 KiB | 186 | 147 | |
tagfiltermodel.h | H A D | 12-Jan-2016 | 1.3 KiB | 58 | 41 | |
telegramchatparticipantsmodel.cpp | H A D | 12-Jan-2016 | 4.2 KiB | 180 | 131 | |
telegramchatparticipantsmodel.h | H A D | 12-Jan-2016 | 2.3 KiB | 80 | 45 | |
telegramcontactsfiltermodel.cpp | H A D | 12-Jan-2016 | 2.3 KiB | 74 | 43 | |
telegramcontactsfiltermodel.h | H A D | 12-Jan-2016 | 1.5 KiB | 54 | 24 | |
telegramcontactsmodel.cpp | H A D | 12-Jan-2016 | 4.1 KiB | 175 | 129 | |
telegramcontactsmodel.h | H A D | 12-Jan-2016 | 2 KiB | 74 | 40 | |
telegramdetailedcontactsmodel.cpp | H A D | 12-Jan-2016 | 5.4 KiB | 214 | 168 | |
telegramdetailedcontactsmodel.h | H A D | 12-Jan-2016 | 2.3 KiB | 83 | 49 | |
telegramdialogsmodel.cpp | H A D | 12-Jan-2016 | 7.9 KiB | 336 | 252 | |
telegramdialogsmodel.h | H A D | 12-Jan-2016 | 2.5 KiB | 91 | 53 | |
telegramfilehandler.cpp | H A D | 12-Jan-2016 | 22.5 KiB | 873 | 748 | |
telegramfilehandler.h | H A D | 12-Jan-2016 | 4.9 KiB | 175 | 139 | |
telegrammessagesmodel.cpp | H A D | 12-Jan-2016 | 10.8 KiB | 458 | 354 | |
telegrammessagesmodel.h | H A D | 12-Jan-2016 | 3.1 KiB | 108 | 69 | |
telegramqml.cpp | H A D | 12-Jan-2016 | 151.9 KiB | 5,533 | 4,508 | |
telegramqml.h | H A D | 12-Jan-2016 | 28.3 KiB | 641 | 502 | |
telegramqml.pri | H A D | 03-May-2022 | 3.4 KiB | 102 | 94 | |
telegramqml.pro | H A D | 03-May-2022 | 2.1 KiB | 88 | 72 | |
telegramqml_global.h | H A D | 12-Jan-2016 | 337 | 18 | 13 | |
telegramqml_macros.h | H A D | 12-Jan-2016 | 585 | 21 | 13 | |
telegramqml_plugin.cpp | H A D | 12-Jan-2016 | 226 | 11 | 7 | |
telegramqml_plugin.h | H A D | 12-Jan-2016 | 315 | 17 | 11 | |
telegramqmlinitializer.cpp | H A D | 12-Jan-2016 | 7.8 KiB | 181 | 137 | |
telegramqmlinitializer.h | H A D | 12-Jan-2016 | 302 | 16 | 11 | |
telegramsearchmodel.cpp | H A D | 12-Jan-2016 | 4.7 KiB | 229 | 183 | |
telegramsearchmodel.h | H A D | 12-Jan-2016 | 1.6 KiB | 66 | 47 | |
telegramthumbnailer.cpp | H A D | 12-Jan-2016 | 7.5 KiB | 199 | 153 | |
telegramthumbnailer.h | H A D | 12-Jan-2016 | 1.9 KiB | 71 | 41 | |
telegramthumbnailercore.cpp | H A D | 12-Jan-2016 | 3.5 KiB | 117 | 82 | |
telegramthumbnailercore.h | H A D | 12-Jan-2016 | 1,009 | 36 | 13 | |
telegramuploadsmodel.cpp | H A D | 12-Jan-2016 | 2.8 KiB | 125 | 87 | |
telegramuploadsmodel.h | H A D | 12-Jan-2016 | 1.8 KiB | 67 | 34 | |
telegramwallpapersmodel.cpp | H A D | 12-Jan-2016 | 3.7 KiB | 158 | 114 | |
telegramwallpapersmodel.h | H A D | 12-Jan-2016 | 2 KiB | 71 | 38 | |
tgabstractlistmodel.cpp | H A D | 12-Jan-2016 | 1 KiB | 55 | 43 | |
tgabstractlistmodel.h | H A D | 12-Jan-2016 | 512 | 24 | 17 | |
tqmlresource.qrc | H A D | 12-Jan-2016 | 195 | 8 | 7 | |
tqobject.cpp | H A D | 12-Jan-2016 | 333 | 23 | 16 | |
tqobject.h | H A D | 12-Jan-2016 | 372 | 20 | 14 | |
userdata.cpp | H A D | 12-Jan-2016 | 12.2 KiB | 515 | 407 | |
userdata.h | H A D | 12-Jan-2016 | 3 KiB | 120 | 78 | |
usernamefiltermodel.cpp | H A D | 12-Jan-2016 | 4.5 KiB | 221 | 177 | |
usernamefiltermodel.h | H A D | 12-Jan-2016 | 1.6 KiB | 64 | 46 |
README.md
1# TelegramQML 2Telegram API tools for QtQML and Qml, based on Cutegram-Core and libqtelegram. 3It's free and released under the GPLv3 license. 4 5### How to Compile 6#### Install dependencies 7 8Install gcc, g++, openssl, git, Qt5Core, Qt5DBus, Qt5Gui, Qt5Multimedia, Qt5MultimediaQuick_p, Qt5Network, Qt5PrintSupport, Qt5Qml, Qt5Quick, Qt5Sql, Qt5Svg, and Qt5Widgets. 9on Ubuntu: 10 11 sudo apt-get install g++ gcc git qtbase5-dev libqt5sql5-sqlite libqt5multimediaquick-p5 libqt5multimedia5-plugins libqt5multimedia5 libqt5qml5 libqt5qml-graphicaleffects libqt5qml-quickcontrols qtdeclarative5-dev libqt5quick5 libthumbnailer-qt-dev libthumbnailer-qt1.0:armhf thumbnailer-service:armhf 12 13Note: You may have to add this ppa first: 14 15 https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay 16 17on Fedora (tested on Fedora 20): 18 19 yum install qt5-qtbase qt5-qtbase-devel qt5-qtdeclarative qt5-qtquick1 qt5-qtquick1-devel kde-plasma-applicationname kde-plasma-nm qt5-qtdeclarative-devel qt5-qtdeclarative-static qt5-qtgraphicaleffects qt5-qtquickcontrols openssl-devel libappindicator-devel 20 21For other distributions search for the corresponding packages. 22 23#### Available qmake keywords 24 25There are some available keywords, you can use it as qmake flags on build step on each project: 26 27 OPENSSL_LIB_DIR 28 OPENSSL_INCLUDE_PATH 29 LIBQTELEGRAM_LIB_DIR 30 LIBQTELEGRAM_INCLUDE_PATH 31 TELEGRAMQML_LIB_DIR 32 TELEGRAMQML_INCLUDE_PATH 33 34#### Get libqtelegram 35 36First, you should build and install libqtelegram. 37 38 git clone https://github.com/Aseman-Land/libqtelegram-aseman-edition.git 39 40And: 41 42 cd libqtelegram-aseman-edition 43 mkdir build && cd build 44 qmake -r PREFIX=/usr .. 45 46And then start building: 47 48 make 49 sudo make install 50 51#### Get source code from git repository 52 53Get cutegram codes using this command: 54 55 git clone https://github.com/Aseman-Land/TelegramQML.git 56 57#### Start building 58 59Switch to source directory 60 61 cd TelegramQML 62 63##### Ubuntu 64 65First, Please create build directory. 66 67 mkdir build && cd build 68 69To build TelegramQml in the plugin mode run: 70 71 qmake -r .. 72 73and to build in the library mode run: 74 75 qmake -r .. PREFIX=/usr BUILD_MODE+=lib 76 77To make use of thumbnailer on the Ubuntu phone (which does not ship with ffmpeg), add the following to the qmake commands above: 78 79 LIBS+=-lthumbnailer DEFINES+=UBUNTU_PHONE 80 81Then start build process: 82 83 make 84 make install 85 86You can use command below after building to clean build directory on the each step. 87 88 make clean 89