Thanks again for your fast answer!

On Fri, Mar 27, 2009 at 3:44 PM, Giovanni Bajo <[email protected]> wrote:
>
> As I said, the problem is that PyInstaller is unable to ask PyQt where
> Qt's plugins have been installed.
>
> But you can hack it around: edit hooks/hookutils.py. You'll find this
> function in there:
>
> def qt4_plugins_dir():
>     return exec_statement("from PyQt4.QtCore import QLibraryInfo; print
> QLibraryInfo.location(QLibraryInfo.PluginsPath)")
>
>
> Replace its content with:
>
>     return "c:\\your\\path\\to\\Qt\\plugins"
>
> And run Build.py again. PyInstaller should then do its magic automatically.
>

I did that, and the executable is indeed 4 MBytes larger than before
(but still more than 10 MByte smaller than a py2exe build of the same
application :) ). But the JPEG files are still not painted by Qt. I
don't get any error messages, just blank widgets where images should
be... anyway, I have enough other things to do before the application
is anywhere near a deployable state. Thanks for your help!

Regards,
Benjamin

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

Reply via email to