View Single Post
Posts: 6 | Thanked: 0 times | Joined on Aug 2009
#31
Originally Posted by attila77 View Post
PyQt most certainly works on Diablo. Can you post some code that demostrates the crash ? Most of the time segfaults happen when objects get destructed 'behind' PyQt's back and then you try to reference them.
Code:
#!/usr/bin/env python2.5

from PyQt4.QtCore import *
from PyQt4.QtGui import *
import sys

if __name__=="__main__":
    app = QApplication(sys.argv)
    label = QLabel('Hello!')
    label.show()
    
    sys.exit(app.exec_())