4

On Windows, with Qt 5.7.0.

I tried "Emoji One Color" font, like this:

QFontDatabase::addApplicationFont(":/Fonts/EmojiOneColor.ttf");

QFont font("EmojiOne Color");
ui.textEdit->setFont(font);

Copy "" from getemoji.com and paste them into QTextEdit widget, it still displays the black/white Emoji.

How can I use color emoji in Qt 5.7.0 ?

amanjiang
  • 1,213
  • 14
  • 33

0 Answers0