惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
雷峰网
雷峰网
J
Java Code Geeks
G
Google Developers Blog
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
L
LangChain Blog
人人都是产品经理
人人都是产品经理
GbyAI
GbyAI
Vercel News
Vercel News
S
SegmentFault 最新的问题
Engineering at Meta
Engineering at Meta
H
Hackread – Cybersecurity News, Data Breaches, AI and More
云风的 BLOG
云风的 BLOG
F
Fortinet All Blogs
Y
Y Combinator Blog
博客园_首页
Last Week in AI
Last Week in AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
罗磊的独立博客
A
About on SuperTechFans
B
Blog
Microsoft Security Blog
Microsoft Security Blog

博客园 - 朱小勇

Qt通信架构 C/C++导出库版本问题 高速互联常用概念 Anydoc使用 pyflow使用 两路 IQ 复数相除 minizip使用 解决Qt无法cdb调试问题 使用zadig-安装winusb驱动 libusb编译 word设置表和图的自动编号 DAC、AOC、AEC、ACC说明 技能包:qtwidget-instrument-control SKILL技能包学习 T参数 Python查看某个库版本并更新 C++通过pybind11与Python互调 数字信号处理-C++开源库 C++实现窗函数 C++-FFTW C++-Eigen SI-python工程参考 PAM4相关概念 win11共享文件夹 QGroundControl 建议尺寸 封窗知识 网分的触发学习 豆包生成图片去除水印 matlabe东向偏移、北向偏移、垂直偏移转经纬度
Qt使用QSplashScreen实现软件启动过渡界面
朱小勇 · 2026-01-15 · via 博客园 - 朱小勇

1.代码

 int main(int argc, char *argv[])
 {
     QApplication app(argc, argv);
     QPixmap pixmap(":/splash.png");
     QSplashScreen splash(pixmap);
     splash.show();
     app.processEvents();
     ...
     QMainWindow window;
     window.show();
     splash.finish(&window);
     return app.exec();
 }