Creating QApplication object
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.
The 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.