Skip to content

Added the ability to read an image from a resource file (python) #64

Description

@Xarkam

Hello,

Would it be possible to add the ability to read an icon via a QRC resource file that has been exported as a Python file?

I have a converted resource in a python file (with rcc -g python ...) but when I give the resource path as the path, the toast doesn't start and the application crashes.

My code:

icon = {
            'src': ':/assets/icon.png',
            'placement': 'appLogoOverride'
        }
        toast('Connexion','The game is ready 🎮🐍', app_id='Launcher', icon=icon)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions