Please help! PyQt problems.
Michael Melchert
michael.melchert at ntlworld.com
Sun May 5 08:25:54 EDT 2002
Moray Taylor wrote:
> Hi,
>
> I am having some serious grief with PyQT, my system is described
> below...
>
> Powerbook G4 550MHz, Yellow Dog Linux 2.2
> PyQt 3.1
> Qt 3.0.3
> Sip 3.1
> Python 2.2.1
>
> All the software was compiled from source, no binaries, all compiled
> without fatal errors, just a couple of warnings, nothing unusual.
>
> The Qt examples work perfectly, however the PyQt ones do not, they all
> fail with either 'Segmentation fault', or sometimes, 'Illegal
> Instruction'. When I try using it with python interactivly, I get this
> far
>
> import qt
> import sys
> from qt import *
>
> a = QApplication(sys.argv)
> d = a.desktop()
> e = d.width()
> #The last line causes a segmentation fault.
>
> I have successfully used PyQt on both an x86 laptop, and SGI IRIX,
> with no real problems.
>
> I have tried compiling all components with various options, threading,
> no threading, g++ exceptions etc..., but it always fails in the same
> way.
>
> Please, please help me, failure is not an option.
>
> Please reply to mtaylor at lowebroadway.com as well as the newsgroup.
>
>
> Thanks very much in advance
>
> Moray
get the new released bugfix version of PyQt/sip
http://www.riverbankcomputing.co.uk/pyqt/
More information about the Python-list
mailing list