QT中的延时函数 QTimer类 //延时时间, 作用对象,lamda表达式QTimer::singleShot(500,this,[=](){ //进入下一个场景中 this->hide(); //显示关卡场景 chooseS->show(); });