[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyKDE] PyQt examples fail with QPaintDevice error
From:       David Boddie <david () sleepydog ! net>
Date:       2002-08-28 13:29:29
[Download RAW message or body]

I hope that this isn't an FAQ...

I've built PyQt with the following setup:

python build.py -b /usr/bin -c -i /opt/qt/include -l qt-mt
       -p /usr/bin/sip -q /opt/qt -s /usr/lib/python2.1/site-packages

Threaded Qt 3.0.3 is being used (I have libqt-mt.so.3.0.3 in /opt/qt/lib)
and Python is installed in /usr/lib/python2.1. There appear to be no
error in configuring PyQt, building it or installing it.

However, when I try the examples in PyQt-3.3.2/examples3 I get, for
example:

[david@bunsen examples3]$ python tut1.py
Loading required GL library /usr/X11R6/lib/libGL.so.1.2.030402
QPaintDevice: Must construct a QApplication before a QPaintDevice
Aborted

What have I done wrong?

-- 
David

________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________

_______________________________________________
PyKDE mailing list    PyKDE@mats.gmd.de
http://mats.gmd.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic