当前位置:网站首页>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
边栏推荐
- Your brain expands and shrinks over time — these charts show how
- Variable length parameter__ VA_ ARGS__ Macro definitions for and logging
- C dapper basically uses addition, deletion, modification and query transactions, etc
- Abnormal resolution of Xiaomi camera
- [related to zhengheyuan cutting tools]
- 线性代数感悟之1
- 2.Electron之HelloWorld
- Oninput one function to control multiple oninputs (take the contents of this input box as parameters) [very practical, very practical]
- Indexes and views in MySQL
- Promise (II)
猜你喜欢
Milvus 2.0 质量保障系统详解
Deep understanding of control inversion and dependency injection
How to change input into text
Signalr can actively send data from the server to the client
Use between nodejs modules
Compare the performance of query based on the number of paging data that meet the query conditions
Customize my_ Strcpy and library strcpy [analog implementation of string related functions]
Bottom processing of stack memory in browser
Milvus 2.0 質量保障系統詳解
[registration] tf54: engineer growth map and excellent R & D organization building
随机推荐
Conversion between hexadecimal numbers
Kingdee Cloud Star API calling practice
Self use learning notes - connectingstring configuration
Customize my_ Strcpy and library strcpy [analog implementation of string related functions]
How does matlab draw the curve of known formula and how does excel draw the function curve image?
文件操作《二》(5000字总结篇)
Collection of common SQL statements
Indexes and views in MySQL
Websocket (basic)
How to use the input table one-way service to send (occupy less) picture files (body transmission)? FileReader built-in object involved
Shell script -- shell programming specification and variables
EF core in ASP Generate core priority database based on net entity model
Generation of barcode and QR code
Node template engine (EJS, art template)
古代埃及希腊,数学用的什么进制
New keyword learning and summary
Using quartz under. Net core - [1] quick start
Change Oracle to MySQL
Metaprogramming, proxy and reflection
RPC核心概念理解