<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Howdy,</div><div><br></div><div>I believe Guru Hans-Peter ;-) posted a collection of PyQt examples that</div><div>he converted into Python from the Qt C++ examples..</div><div><br></div><div>In one titled "fancybrowser.py"<br></div><div><br></div><div>There's a few lines that read...<br></div><div><br></div><div><span class="tab"> </span><span class="tab"> </span>@QtCore.pyqtSlot()<br><span class="tab"> </span><span class="tab"> </span>def submit(self):<br> <span class="tab"> </span><span class="tab"> </span>frame = self.ui.webView.page().mainFrame()</div><div><br></div><div>then<br></div><div><br></div><div><span class="tab"> </span><span class="tab"> </span><span
class="tab"> </span>firstName = frame.findFirstElement("#firstname")</div><div><br></div><div><br></div><div>It appears that the function "findFirstElement()" appeared in a version of Qt</div><div>that came along after the one I'm on (4.5.3)</div><div><br></div><div>1) Can anyone suggest a code workaround that would accomplish same <br></div><div> that will work in 4.5.3 rather than 4.7 or 4.8 (whenever that appeared)</div><div><br></div><div><br></div><div>2) Secondly,...as an alternative, one that I hesitate to try,...is it possible for two</div><div> versions of Qt (and I guess two versions of PyQt and Sip) to exist simultaneously?</div><div> Using one version for *this* and another version for *that* ?</div><div>
<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div></body></html>