[PyQt] QXmlQuery (Xpath...)
David Boddie
david at boddie.org.uk
Sun Nov 16 01:02:46 GMT 2008
On Mon Nov 3 14:38:13 GMT 2008, celsowm wrote:
> I tried a sample for this: http://doc.trolltech.com/qq/qq25-webrobot.html
>
> and code in python:
[...]
> and errors in windows:
>
> AppName: pythonw.exe AppVer: 0.0.0.0 ModName: qtcore4.dll
> ModVer: 4.4.2.0 Offset: 000ddaf0
OK, you need to create an application object before you use these classes.
Try adding this to your program after your import statements:
app = QCoreApplication([])
David
More information about the PyQt
mailing list