Qt中实现延迟 //实现延迟 QTime t; t.start(); while(t.elapsed() < 1000) //1000ms = 1s QCoreApplication::processEvents();