Hi all,

When I add the following line to my PyQt script, 

#     app.setWindowIcon(QtGui.QIcon(':/icons/icon.png'))

the PyInstaller single-dir and single-file bundles crash with no error 
reported. (Before bundling the app, everything works fine in the standard 
console). When I go back to PyInstaller 1.5.1 everything works fine. Just 
removing this line causes the bundle to be created without problem in 2.0. 
I also know that the QIcon is created properly so it really seems to be a 
problem with the app.setWindowIcon command via PyInstaller.

Somebody wrote here (http://stackoverflow.com/q/13379101/548598) that this 
was a bug in PyInstaller version 2. I found the same thing (i.e., it works 
in 1.5.1 but not in 2.0). Is this a known issue? If so, is there a 
workaround?

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