[Qt-interest] Ctrl-C exit of qapp

emmanuel_mayssat at lynceantech.com emmanuel_mayssat at lynceantech.com
Sun Sep 26 07:07:02 CEST 2010


Hello,

I am trying to catch the Ctrl-C exception to close the qapplication I am running. How do i do that?

try: 
    qapp.exec_()
except KeyboardInterupt as e:
...
doesn't work!

Please help,

-- 
Emmanuel



More information about the Qt-interest-old mailing list