Skip to content
Snippets Groups Projects
Commit fe18af3a authored by Olivier SOLDANO's avatar Olivier SOLDANO Committed by Anthony Léonard
Browse files

add font for symbols in UI


add the libre font "FontAwesome" implementing unicode symbols

Change-Id: I4ca439fcd1768239b7bd62a768b92d17b86fdad9
Reviewed-by: default avatarAnthony Léonard <anthony.leonard@savoirfairelinux.com>
parent a8d78f91
No related branches found
No related tags found
No related merge requests found
File added
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
#include <QThread> #include <QThread>
#include <QTranslator> #include <QTranslator>
#include <QLibraryInfo> #include <QLibraryInfo>
#include <QFontDatabase>
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
...@@ -161,5 +162,7 @@ main(int argc, char *argv[]) ...@@ -161,5 +162,7 @@ main(int argc, char *argv[])
}); });
#endif #endif
QFontDatabase::addApplicationFont(":/images/FontAwesome.otf");
return a.exec(); return a.exec();
} }
...@@ -40,5 +40,6 @@ ...@@ -40,5 +40,6 @@
<file>images/qrcode.png</file> <file>images/qrcode.png</file>
<file>images/icons/ic_share_black_48dp_2x.png</file> <file>images/icons/ic_share_black_48dp_2x.png</file>
<file>images/loading.gif</file> <file>images/loading.gif</file>
<file>images/FontAwesome.otf</file>
</qresource> </qresource>
</RCC> </RCC>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment