Qt 为自己的程序建立一个消息循环
At any time, you can create a QEventLoop object and call exec() on it to start a local event loop. From within the event loop,
calling exit() will force exec() to return.从Qt文档上找出这句话。所以,我们时刻都可以为自己的应用
原创
2015-09-11 10:51:57 ·
3874 阅读 ·
2 评论