Hi David,
On 5 February 2014 08:46, David Cortesi <davecort...@gmail.com> wrote:
> If a program includes PyQt5.QtWebKit, then it also needs to include
> PyQt5.QtNetwork and
> PyQt5.QtPrintSupport.
>
> The program does not have to import these explicitly to run as a script,
> but the bundled app will fail without them. So they should probably be
> named in a hook.
>
> I see QtNetwork mentioned in the hooks.py in lines 474-500, however it was
> not automatically included for my PyQt5 app, I had to put an import
> statement in the app as a workaround. I don't see QtPrintSupport mentioned
> at all.
I added a hook for QtWebKit, but it's only just gone in, so you'll need to
install the development version of cx_Freeze to get it. It doesn't copy
QtPrintSupport, though, because I was testing on PyQt4.
Can you make a pull request to add a separate load_PyQt5_QtWebKit hook here:
https://bitbucket.org/anthony_tuininga/cx_freeze/src/52b63b3296843cd612cfbe047a9f6529df4c0444/cx_Freeze/hooks.py?at=default#cl-533
Thanks,
Thomas
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users