主函数 大概 这样
int main(int argc, char **argv)
{
QApplication app(argc, argv);
QPixmap pixmap("splash.png");
QSplashScreen *splash = new QSplashScreen(pixmap);
splash->show();
splash->showMessage(QString::fromLocal8Bit("程序加载中****"),topRight, Qt::white);//显示信息
//dddsdad其他代码
splash->showMessage(QString::fromLocal8Bit("程序加载中********"),topRight, Qt::white);//显示信息
//dasdadsda其他代码
splash->showMessage(QString::fromLocal8Bit("程序加载中**********"),topRight, Qt::white);//显示信息
splash->finish(form);
delete splash;
return app.exec();
}
我这样写 图片上的子不会变。。。我想让 后面的 * 号 会变化 该怎么办啊?请指教 谢谢大家