标签:
#include<QElapsedTimer>
QElapsedTimer t; t.start(); int waitTime=1000*60*1; while(t.elapsed()<waitTime) { QCoreApplication::processEvents(); if(GlobalVariable::g_isGetReportOk==true) { break; } }
标签:
原文地址:http://www.cnblogs.com/ike_li/p/4693638.html