To forcefully quit a qt application from the terminal using Ctrl-C without waiting for the next python interpreter run cycle.

import signal
signal.signal(signal.SIGINT, signal.SIG_DFL)

Should work on all platforms.