On Tue, May 14, 2013 at 7:55 PM, Hartmut Goebel
<[email protected]>wrote:

>  Am 14.05.2013 12:52, schrieb Hartmut Goebel:
>
> Am 14.05.2013 06:14, schrieb Laurence:
>
> #     app.setWindowIcon(QtGui.QIcon(':/icons/icon.png'))
>
>
>
> I forgot:
>
> Of course the  filepath must be relative to the application directory and
> you must COLLECT the image-file in your .spec-file.
>
>
Actually, this is not the case with PyQT resources. The icon effectively
becomes embedded in a Python module. To access the icon, you just need to
import the resource.py module and access the icon via :/... I can certainly
try this though.

Laurence.

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to