[PyQt] Re: PyQt4 and Qt plugins (imageformats, etc.) fully
supported now
Giovanni Bajo
rasky at develer.com
Wed Feb 25 13:15:54 GMT 2009
On 2/25/2009 12:55 AM, Thorsten Kampe wrote:
> * Giovanni Bajo (Mon, 23 Feb 2009 12:33:11 +0100)
>> I've just added a new feature to PyInstaller: a module hook is now
>> able to specify additional data files that are needed for the module
>> to work correctly. Those data files are automatically collected when
>> using --onedir, or bundled within the executable when using --onefile
>> (and automatically extracted into the temporary dir at startup).
>>
>> Using this support, I've improved PyQt4's import hooks so that Qt
>> plugins (such as imageformats, codecs, etc.) are automatically handled
>> by PyInstaller. IOW, this is now fully transparent to PyInstaller
>> users: just run PyInstaller trunk and enjoy your multi-platform
>> bundles of PyQt applications without having to take care of plugins
>> manually.
>
> Thanks. I've just downloaded the svn version and compiled a PyQt script.
> I got a lot of "W: library python%s%s required via ctypes not found"
> errors (although everything seems to work). Is that a known issue?
It's basically a false positive.
PyInstaller now automatically handles ctypes dependencies (eg: if you
use ctypes to access a custom dynamic library, it will be automatically
bundled by PyInstaller).
We're planning some ways to whitelist spurious PyInstaller warnings at
least in Python's own standard library.
--
Giovanni Bajo
Develer S.r.l.
http://www.develer.com
More information about the PyQt
mailing list