GithubHelp home page GithubHelp logo

qtinsider / qrwemoticons Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raven-worx/qrwemoticons

0.0 0.0 0.0 5.76 MB

License: Creative Commons Attribution 4.0 International

C++ 92.81% Python 3.42% C 1.73% QMake 2.04%

qrwemoticons's Introduction

QrwEmoticons

Qt5 (Widgets) Emoticon library and plugins.

Since its pure Qt code you can use it on almost any platform.

Features

How-To Build

git clone 
cd qrwemoticons
git submodule update --init --recursive

Build with QtCreator or manually with qmake and make.

How-To Use

Link your application against the QrwEmoticons library. For a usage example see the "example-app" project.

The emoticons plugins are loaded from the "emoticons" folder in Qt's plugin search locations. For example create a "emoticons" folder next to your application binary or in the Qt installation directory and copy the plugins there.

Update scripts

Emoticons .qrc files

In case of an update of emoticons of a provider (e.g. submodule update) the qrc files have to be updated accordingly.

To do so run the generate_emoticon_qrc.py python script in the plugin source directory.

For example:

cd plugin-google
python ../scripts/generate_emoticon_qrc.py --provider google --dir noto-emoji --filename emoticons_google
Emoticons unicode data

In case the unicode data table needs to be updated (can be downloaded from https://unicode.org/emoji/charts/full-emoji-list.html) run the generate_emoticon_data.py python script (inside the script directory)

python generate_emoticon_data.py -d data > ..\lib\src\QrwEmoticons_data.cpp

Known issues

Unfortunately Qt's SVG rendering capabilities are not mature enough to render Google Noto-Emoji icons properly. Only known workaround is stepping back in the noto submodule to a certain commit when rendering was still working.

License

CreativeCommons Attribution 4.0 International (CC BY 4.0)

https://creativecommons.org/licenses/by/4.0/

qrwemoticons's People

Contributors

raven-worx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.