Hi Lloyd,
Thanks for pointing this out. When I created the PyQt5 hooks I just copied the
PyQt4 hooks and added stuff that my project needed. I suggest you submit a pull
request, but if you can't then let me know and I'll do it.
Glenn
On 26/11/13 08:39, Lloyd Konneker wrote:
I think the line:
mod.binaries.extend(qt5_plugins_binaries('printsupport'))
is needed in PyInstaller/hooks/hook-PyQt5.QtGui.py
Since Qt5, platform specific printer code is in a plugin, found in a directory
parallel to other plugins like 'imageformats' plugins. (This is changed from
Qt4.)
Symptoms of this omission: when a printer is needed to show e.g. a print dialog,
it returns an error something like 'QPrintDialog cannot be used with non-native
printer.' Which I think really means the plugin could not be found.
I tested this on the OSX platform (hacking the latest PyInstaller *947), and it
seems to work. I could be wrong.
--
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.
For more options, visit https://groups.google.com/groups/opt_out.