Qt World Summit: Submit your Presentation

Compile with icon.

  • I am compiling an application in Python, before compiling everything perfect but once compiled the icons of the taskbar and the window are lost, how can I compile and that the icon does not disappear from those places, the icon does remain in the executable but I also want it to be in the taskbar and the window.

    I'm compiling with this line.
    pyinstaller go.py -i corazon.ico --noconsole --onefile

  • my approach to this very issue will be to create a python class that holds the binary data (as arrays) that makes up the icons, then feed that data to QPixmap, and then to QIcon instances.

Log in to reply