On 06/04/13 11:52, Glenn Ramsey wrote:
On 05/04/13 21:54, Martin Zibricky wrote:
Glenn Ramsey píše v Pá 05. 04. 2013 v 17:26 +1300:
I am trying to package a PyQt program for OSX using PyInstaller 2,
where PyQt4
(4.10) has been built against Qt 5.0.2 (from Git).

I would recommend trying development version of pyinstaller.

PyInstaller is known to work with qt4 but I don't know about pyqt4 and
qt5.

You could look at the following
http://www.pyinstaller.org/wiki/FAQ#IfThingsGoWrong

I have tried the development version and the result is the same.

The frozen app runs correctly from the directory produced by COLLECT() but it
hangs when run as an app. I assume that something is missing or incorrectly
configured in the .app folder but I can find no clues as to what that might be.

I found the problem. PyInstaller adds LSBackGroundOnly=True to Info.plist. If I remove that key or set it to 0 then the app works as expected. I see from the comment in Build.py that this is there to prevent an icon for the decompressor from appearing on the task bar, but in this case it also prevents the app from showing.

Glenn

--
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