I have a problem with QCoreApplication,  my program doesn't return.

this is the the code

import sys

from PyQt4.QtCore import QCoreApplication

if __name__=="__main__":
    app=QCoreApplication(sys.argv)
    sys.exit(app.exec_())

but this program doesn't exit and blocks all input in konsole, it just
doesn't do anything and doesn't respond to keypresses.

Am I doing something wrong?


-- 
Thomas Coopman
[email protected]
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to