Skip to content

Aseman-Land/Cutegram

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cutegram

A different telegram client from Aseman team. Cutegram forked from Sigram by Sialan Labs. Cutegram project are released under the terms of the GPLv3 license.

How to Compile

Install dependencies

Install gcc, g++, openssl, git, Qt5Core, Qt5DBus, Qt5Gui, Qt5Multimedia, Qt5MultimediaQuick_p, Qt5Network, Qt5PrintSupport, Qt5Qml, Qt5Quick, Qt5Sql, Qt5Svg, and Qt5Widgets. on Ubuntu:

sudo apt-get install g++ gcc git qtbase5-dev libqt5sql5-sqlite libqt5multimediaquick-p5 libqt5multimedia5-plugins libqt5multimedia5 libqt5qml5 libqt5qml-graphicaleffects libqt5qml-quickcontrols qtdeclarative5-dev libqt5quick5 

on Fedora (tested on Fedora 20):

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

Also you should install AppIndicator and Gtk2 if you want to enable UnitySystemTray plugin.

sudo apt-get install libappindicator-dev libgtk2.0-dev

For other distributions search for the corresponding packages.

Available qmake keywords

There are some available keywords, you can use it as qmake flags on build step on each project:

OPENSSL_LIB_DIR
OPENSSL_INCLUDE_PATH
LIBQTELEGRAM_LIB_DIR
LIBQTELEGRAM_INCLUDE_PATH
TELEGRAMQML_LIB_DIR
TELEGRAMQML_INCLUDE_PATH

Get libqtelegram

First, you should build and install libqtelegram.

git clone https://github.com/Aseman-Land/libqtelegram-aseman-edition.git

And:

cd libqtelegram-aseman-edition
./init
mkdir build && cd build
qmake -r CONFIG+=typeobjects  ..

And then start building:

make
sudo make install

Get TelegramQml

In the next step, You should download and build TelegramQml in the qml-plugin mode using below commands:

git clone https://github.com/Aseman-Land/TelegramQML.git

And:

cd TelegramQML
mkdir build && cd build
qmake -r ..

And then start building:

make
sudo make install

Get source code from git repository

Get cutegram codes using this command:

git clone --recursive https://github.com/Aseman-Land/Cutegram.git

Start building

Switch to source directory

cd cutegram
Arch

You can install stable version of Cutegram directly from the [community] repository.

pacman -S cutegram

There is a PKGBUILD for the git package in AUR.

Ubuntu and Fedora

Cutegram 3.x completely written using QML. So there is no need to build and compile it anymore. Just run in using below command.

qmlscene main.qml

But you can still build cutegram. Just pass CONFIG+=binaryMode to the qmake and done build it.

About

Cutegram is a telegram client by Aseman Land. It's forked from sigram.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • QML 94.7%
  • C++ 4.0%
  • Other 1.3%