<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>import QtNet </div><div>QtNetwork = QtNet<br></div><div><br></div><div>Seemed to work here when I tested it.</div><span class=""><font color="#888888"><div><br></div><div><br></div><div>- m </div></font></span></div></div></div>
</blockquote></div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Seems it's not enough...you may also need a:</div><div class="gmail_extra"><br></div><div class="gmail_extra">sys.modules['PyQt4.QtNetwork'] = QtNet<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">...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</div></div>