[PyKDE] Executing KApplication in Eric debugger

Dennis Schaaf dennis.schaaf at gmail.com
Wed Feb 2 22:26:39 GMT 2005


Hi,

when I try to run KApplication in Erics debugger mode, the program
"terminates unexpectedly"

It works however with QApplication programs... any ideas?

dennis

PS here is an example 

#!/usr/bin/env python

import sys 
from qt import *
from kdecore import *
from kdeui import * 

a=KApplication(sys.argv, "Program Name")
w=QWidget()
a.setMainWidget(w)
a.setTopWidget(w)
w.resize(200,100)
w.show()
a.exec_loop()




More information about the PyQt mailing list