Creating QApplication object
-
Hey All,
I tried to create a QApplication in a python wrapped class and am
getting a seg fault. I know about PyQt and will probably move in
that direction but am curious now what the problem is and what
happens on creation. I've read the docs and it doesn't seem to
satisfy my curiosity.Here's the simple class ( contrived for this example ) : http://codepad.org/R259gfvs
And here are the first 20 lines of the traceback : http://codepad.org/jVpUIxWsThe python script is pretty simple too :
@
#!/usr/bin/env python
import python_qt as pyqt
import sys
qapp = pyqt.QtApp( sys.argv )
@This is somehow solved in PyQt, so is not impossible ( and maybe I
should have posted there ), but this topic seemed a little more general.Any insight would be greatly appreciated.
Thanks,
Alex.