• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

database/H03-May-2022-173152

debian/H12-Jan-2016-177133

demos/H12-Jan-2016-721602

objects/H12-Jan-2016-6,1755,214

qmake/H12-Jan-2016-108

.gitignoreH A D12-Jan-2016292 3528

LICENSEH A D12-Jan-201634.3 KiB676553

README.mdH A D12-Jan-20162.5 KiB8951

backgroundmanager.cppH A D12-Jan-20162.8 KiB140112

backgroundmanager.hH A D12-Jan-20161 KiB4734

chatparticipantlist.cppH A D12-Jan-20162.2 KiB10063

chatparticipantlist.hH A D12-Jan-20161.7 KiB6131

database.cppH A D12-Jan-20167 KiB274218

database.hH A D12-Jan-20162.5 KiB8769

databaseabstractencryptor.cppH A D12-Jan-2016241 118

databaseabstractencryptor.hH A D12-Jan-2016601 2417

databasecore.cppH A D12-Jan-201644.5 KiB1,3901,139

databasecore.hH A D12-Jan-20164.1 KiB12297

dialogfilesmodel.cppH A D12-Jan-20163.6 KiB186148

dialogfilesmodel.hH A D12-Jan-20161.4 KiB6144

documentattributelist.cppH A D12-Jan-20161.4 KiB6955

documentattributelist.hH A D12-Jan-20161.1 KiB4632

mp3converterengine.cppH A D12-Jan-20162.1 KiB11190

mp3converterengine.hH A D12-Jan-20161 KiB4633

newsletterdialog.cppH A D12-Jan-2016144 96

newsletterdialog.hH A D12-Jan-2016545 2821

photosizelist.cppH A D12-Jan-20162.4 KiB10067

photosizelist.hH A D12-Jan-20161.7 KiB6432

plugins.qmltypesH A D12-Jan-201667.5 KiB1,8181,815

profilesmodel.cppH A D12-Jan-20168.7 KiB411312

profilesmodel.hH A D12-Jan-20163.4 KiB13282

qmldirH A D12-Jan-201693 64

stickersmodel.cppH A D12-Jan-20167.5 KiB321258

stickersmodel.hH A D12-Jan-20162.3 KiB8363

tagfiltermodel.cppH A D12-Jan-20163.5 KiB186147

tagfiltermodel.hH A D12-Jan-20161.3 KiB5841

telegramchatparticipantsmodel.cppH A D12-Jan-20164.2 KiB180131

telegramchatparticipantsmodel.hH A D12-Jan-20162.3 KiB8045

telegramcontactsfiltermodel.cppH A D12-Jan-20162.3 KiB7443

telegramcontactsfiltermodel.hH A D12-Jan-20161.5 KiB5424

telegramcontactsmodel.cppH A D12-Jan-20164.1 KiB175129

telegramcontactsmodel.hH A D12-Jan-20162 KiB7440

telegramdetailedcontactsmodel.cppH A D12-Jan-20165.4 KiB214168

telegramdetailedcontactsmodel.hH A D12-Jan-20162.3 KiB8349

telegramdialogsmodel.cppH A D12-Jan-20167.9 KiB336252

telegramdialogsmodel.hH A D12-Jan-20162.5 KiB9153

telegramfilehandler.cppH A D12-Jan-201622.5 KiB873748

telegramfilehandler.hH A D12-Jan-20164.9 KiB175139

telegrammessagesmodel.cppH A D12-Jan-201610.8 KiB458354

telegrammessagesmodel.hH A D12-Jan-20163.1 KiB10869

telegramqml.cppH A D12-Jan-2016151.9 KiB5,5334,508

telegramqml.hH A D12-Jan-201628.3 KiB641502

telegramqml.priH A D03-May-20223.4 KiB10294

telegramqml.proH A D03-May-20222.1 KiB8872

telegramqml_global.hH A D12-Jan-2016337 1813

telegramqml_macros.hH A D12-Jan-2016585 2113

telegramqml_plugin.cppH A D12-Jan-2016226 117

telegramqml_plugin.hH A D12-Jan-2016315 1711

telegramqmlinitializer.cppH A D12-Jan-20167.8 KiB181137

telegramqmlinitializer.hH A D12-Jan-2016302 1611

telegramsearchmodel.cppH A D12-Jan-20164.7 KiB229183

telegramsearchmodel.hH A D12-Jan-20161.6 KiB6647

telegramthumbnailer.cppH A D12-Jan-20167.5 KiB199153

telegramthumbnailer.hH A D12-Jan-20161.9 KiB7141

telegramthumbnailercore.cppH A D12-Jan-20163.5 KiB11782

telegramthumbnailercore.hH A D12-Jan-20161,009 3613

telegramuploadsmodel.cppH A D12-Jan-20162.8 KiB12587

telegramuploadsmodel.hH A D12-Jan-20161.8 KiB6734

telegramwallpapersmodel.cppH A D12-Jan-20163.7 KiB158114

telegramwallpapersmodel.hH A D12-Jan-20162 KiB7138

tgabstractlistmodel.cppH A D12-Jan-20161 KiB5543

tgabstractlistmodel.hH A D12-Jan-2016512 2417

tqmlresource.qrcH A D12-Jan-2016195 87

tqobject.cppH A D12-Jan-2016333 2316

tqobject.hH A D12-Jan-2016372 2014

userdata.cppH A D12-Jan-201612.2 KiB515407

userdata.hH A D12-Jan-20163 KiB12078

usernamefiltermodel.cppH A D12-Jan-20164.5 KiB221177

usernamefiltermodel.hH A D12-Jan-20161.6 KiB6446

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