当前位置:网站首页>Qt 修改UI没有生效
Qt 修改UI没有生效
2022-04-23 17:24:00 【小鹰信息技术服务部】
时隔两年,总算有机会用Qt做实际的项目了。
新建一个项目,并对主窗体做了点修改,但是发现运行时总是运行了修改之前的窗体,也就是说对界面的修改没有生效:
网上查询找到了答案。
原来是我中途修改了窗体名称。
解决的方法就是把各处文件里面旧的类名全部替换成新的类名。
改完之后重新运行,效果:
参考:qt - QtCreator Build doesn't update UI changes in design form - Stack Overflow
版权声明
本文为[小鹰信息技术服务部]所创,转载请带上原文链接,感谢
https://blog.csdn.net/zhouyingge1104/article/details/124332933
边栏推荐
- Go language RPC communication
- Detailed explanation of C webpai route
- Flash project cross domain interception and DBM database learning [Baotou cultural and creative website development]
- Shortcut keys (multiline)
- How to sort the numbers with text in Excel from small to large instead of the first number
- Wiper component encapsulation
- The system cannot be started after AHCI is enabled
- Use between nodejs modules
- How to manually implement the mechanism of triggering garbage collection in node
- El cascade and El select click elsewhere to make the drop-down box disappear
猜你喜欢
ASP. Net core dependency injection service life cycle
Milvus 2.0 質量保障系統詳解
Flash project cross domain interception and DBM database learning [Baotou cultural and creative website development]
Perception of linear algebra 2
Devexpress GridView add select all columns
RPC核心概念理解
Using quartz under. Net core - [1] quick start
SiteServer CMS5. 0 Usage Summary
PC电脑使用无线网卡连接上手机热点,为什么不能上网
JS, entries(), keys(), values(), some(), object Assign() traversal array usage
随机推荐
Understanding and small examples of unity3d object pool
Shell - introduction, variables, and basic syntax
常用SQL语句总结
Detailed explanation of Milvus 2.0 quality assurance system
If you start from zero according to the frame
2. Electron's HelloWorld
Error in v-on handler: "typeerror: cannot read property 'resetfields' of undefined"
Router object, route object, declarative navigation, programmed navigation
[C#] 彻底搞明白深拷贝
1-1 NodeJS
PC电脑使用无线网卡连接上手机热点,为什么不能上网
1-3 nodejs installation list configuration and project environment
Seven cattle upload pictures (foreground JS + background C API get token)
Use of shell awk command
Shell-awk命令的使用
Shell-sed命令的使用
Solution of Navicat connecting Oracle library is not loaded
Deep understanding of control inversion and dependency injection
Excel quickly and automatically fills the contents of a row on a blank cell
ClickHouse-数据类型