pyqt scripts stopped working!!?

   2246   1   0
User Avatar
Member
24 posts
Joined: Feb. 2010
Offline
Hi,
A number of my old pyqt scripts have stopped working.

Basically I am following the example from ..
http://www.sidefx.com/docs/houdini11.0/hom/cookbook/pyqt/part1/ [sidefx.com]
My scripts used to work but now when I run the line
app = QtGui.QApplication()
Houdini crashes with the error …

houdini: cannot connect to X server

I am running centos 5.5 and I guess something in my environment changed, but I am not sure what!
Any ideas where to look?
Thanks in advance!
Stephen
User Avatar
Member
24 posts
Joined: Feb. 2010
Offline
I had
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
set for some reason!
Once i took it out …everything is back to normal!
cheers
s
  • Quick Links