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.

Reply via email to