阅读背景:

QApplication:如何在Ctrl-C上优雅地关闭。

来源:互联网 

I have a QApplication that, depending on command line parameters, sometimes doesn't actually has a GUI window, but just runs without GUI. In this case, I want to shut it down gracefully if CTRL-C was hit. Basically my code looks like this:I have a QApplication that, depending on comman




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: