[PyKDE] PyQt4 windowIcon

Tina I tinaweb at bestemselv.com
Sun Mar 4 16:18:40 GMT 2007


Andreas Pakulat wrote:
> Its not a bug, how is the directory layout for your source code? I guess
> you have the .ui file in a subdir and the icon in the parent directory
> of that subdir. If that is the case you need to move the icon into the
> same directory as the .ui file or use Qt resource files.
>
> Andreas
>
>   
Ok, now I got it. I kinda 'gotcha' my self. I have a directory structure 
like

application-|
                   |---ui files
                   |---icons

Then I did "pyuic4 app.iu > ~/application/appGUI.py"
This worked in QT3 since it put the icons directly into the gui.py file.

Anyway, problem solved. Thanks everyone!

Tina




More information about the PyQt mailing list