Am 26.02.2011 13:38, schrieb Damien Elmes:
Untested on Windows, but this should do it.
Thanks. This one works for me on WinXP if using PyQt 2.7.7-1, the version I happened to have installed, showing the dog picture after about 1-2 seconds delay just like on Win7 (tested with both PyInstaller 1.5 RC1 and the latest trunk, Python 2.6.6). After I installed the latest PyQt (4.8.3-1 as of today), the images stopped showing up, with the 'broken/missing image' icon instead. I see that the Qt4 plugins from 4.8.3-1 depend on VC90.CRT with appropriate manifest already embedded, while those from 2.7.7-1 seem to be built with MinGW and GCC, so I think the problem is caused by the loading of plugins in Qt4 code, which bypasses PyInstaller's ActivationContext and doesn't create its own, effectively leaving the creation of the ActivationContext to the OS, which then fails if the VC90 CRT is not installed. The only solution I see right now is what you did, adding the VC90 CRT assembly files in all the plugin subfolders. Atleast this could be automated by PyInstaller.
Regards -- Florian Höch -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyinstaller?hl=en.
