Reply
Thread Tools
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_())
 
Posts: 3,319 | Thanked: 5,610 times | Joined on Aug 2008 @ Finland
#32
Just tried it out on my device, works as expected, no segfault. What versions do you have ? I tried with PyQt 4.4.3-maemo10 and Qt 4.5.0-1maemo2.
 
Posts: 6 | Thanked: 0 times | Joined on Aug 2009
#33
I use Maemo SDK 4.1.2. PyQt 4.4.3-maemo10 and Qt 4.5.0-1maemo1 packages.
 
Reply

Tags
pyqt, python


 
Forum Jump


All times are GMT. The time now is 08:31.