OverviewFelgo 2 Support (Qt 5) › Change Theme::iconFont

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #20323


    I have been trying to find documentation about changing the icon font in a v-play project. Can you help me, please?
    For example I want to replace Font Awesome for another font.


    Felgo Team

    Hi Jimmy,

    To use custom fonts, you can use a FontLoader item with custom Text as shown here:
    This also works to import icon fonts. FontAwesome is already included and does not require to be loaded with a FontLoader.

    For more details about developing Felgo apps, you can have a look at our open-source demos and examples. We also provide some tutorials to learn different aspects of the engine. They are definitely worth a look!




    Ok, I understand that. In the Icon QML Type doc it says “Alternatively, a different icon font can be used by setting the Theme::iconFont property“. How can I set that property if I have my custom-font.otf file?



    Felgo Team

    You can change it in the same way, as the code example from font doc posted above changes the Theme.normalFont.

    However, please note that changing the Theme.iconFont in turn then requires you to use your own unicode text values to draw the desired font icons. The IconType configurations are only valid for FontAwesome.




    Thanks, that really helped me so much!

Viewing 5 posts - 1 through 5 (of 5 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support