当前位置:网站首页>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
边栏推荐
- Use between nodejs modules
- Promise (IV)
- PC电脑使用无线网卡连接上手机热点,为什么不能上网
- freeCodeCamp----prob_ Calculator exercise
- JS failed to change all variables and changed to the return method. Finally, the problem was solved
- How to use the input table one-way service to send (occupy less) picture files (body transmission)? FileReader built-in object involved
- ASP. NET CORE3. 1. Solution to login failure after identity registers users
- Customize my_ Strcpy and library strcpy [analog implementation of string related functions]
- C# Task. Delay and thread The difference between sleep
- ASP. Net core configuration options (Part 1)
猜你喜欢
文件操作《二》(5000字总结篇)
Signalr can actively send data from the server to the client
Webapi + form form upload file
For the space occupation of the software, please refer to the installation directory
[PROJECT] small hat takeout (8)
线性代数感悟之1
Lock lock
Collection of common SQL statements
2. Electron's HelloWorld
01-初识sketch-sketch优势
随机推荐
Wiper component encapsulation
Compare the performance of query based on the number of paging data that meet the query conditions
Shell script -- shell programming specification and variables
Use of todesk remote control software
Grpc gateway based on Ocelot
freeCodeCamp----shape_ Calculator exercise
Devexpress GridView add select all columns
How to change input into text
For the space occupation of the software, please refer to the installation directory
Kingdee Cloud Star API calling practice
[registration] tf54: engineer growth map and excellent R & D organization building
Metaprogramming, proxy and reflection
Using quartz under. Net core -- preliminary understanding of [2] operations and triggers
Using quartz under. Net core -- job attributes and exceptions of [4] jobs and triggers
Basic case of Baidu map
groutine
How does matlab draw the curve of known formula and how does excel draw the function curve image?
Use of shell cut command
[logical fallacy in life] Scarecrow fallacy and inability to refute are not proof
On lambda powertools typescript