Skip to content

Add support for Qt resource system #59

@ozmartian

Description

@ozmartian

Hi guys,

Just started using qtawesome as well as using qta.load_font() for some of my own custom made glyph font icons. This is when I realised load_font() will only work with physical files in a folder on the filesystem. Just throwing out the idea of enhancing this further to support the Qt resource system for bth the custom TTF font file and its corresponding charmap file. Along the lines of passing these two params as resource file paths via the ':' prefix. I'm currently getting around this limitation by copying the files out to a temp unique folder.

I realise this is no high priority suggestion as most people would be using thos for wat you're already bundling alone but if its quick and easy to do then I thought I should at least share the suggestion.

If no one is interested in doing this I can always fork and have a go at it myself to then share back for adoption.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions