[PyQt] pyd names in PyQt4

michael h michaelkenth at gmail.com
Sat Jun 4 00:30:24 BST 2016


>
> import QtNet
> QtNetwork = QtNet
>
> Seemed to work here when I tested it.
>
>
> - m
>


Seems it's not enough...you may also need a:

sys.modules['PyQt4.QtNetwork'] = QtNet

...for the 'import PyQt4.QtNetwork' variety. But you get the idea... alias
it in the PyQt4 __init__ and that should execute before or as anything is
importing pyqt modules
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160603/66142486/attachment.html>


More information about the PyQt mailing list