View Single Post
jonnenau's Avatar
Posts: 116 | Thanked: 445 times | Joined on Apr 2010 @ Oulu, Finland
#12
Originally Posted by Yabba View Post
Ok, I have Segmentation fault with my program (pyKake), arise with Pr 1.3. As I have tracked it down it is in QApplication, so I just put this short question here (before I create new topic or anything), is this caused compatibility problems with Qt4.7 and current PyQt or have I done something terribly wrong (except that with Pr 1.2 the program worked fine)

The (short) code:
Code:
print "a"
app = QApplication(sys.argv) # Allways crashes here, newer prints out that b or later ones.
print "b"
MiscFunctions().loadSettings()
print "c"
MiscFunctions().controlLircd("start")
print "d"

main = MainWindow()
print "e"
if USEFULLSCREEN == True:
    print "f" 
    main.showFullScreen()
else:
    print "g"
    main.show()
print "h"
app.exec_()
MiscFunctions().exitFunction()
I have the exact same problem with my dropn900 app, it's essentially broken in PR 1.3. Attila any ideas what might be causing this? My code is only different so that I have subclassed QApplication and my init is "QApplication.__init__(self, sys.argv)". maemo repository is giving me 504 when doing dist-upgrade to PR1.3 so im a bit stuck, cant even try to resolve this but on the device :E
__________________
DropN900 - the maemo 5 DropBox client