当前位置:网站首页>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
边栏推荐
- Solution of Navicat connecting Oracle library is not loaded
- Model problems of stock in and stock out and inventory system
- Milvus 2.0 détails du système d'assurance de la qualité
- Detailed explanation of C webpai route
- 1-1 NodeJS
- Shell-sort命令的使用
- 1-4 configuration executable script of nodejs installation
- Signalr can actively send data from the server to the client
- 1-5 nodejs commonjs specification
- ASP. Net core reads the configuration file in the class library project
猜你喜欢
Bottom processing of stack memory in browser
Nacos + aspnetcore + Ocelot actual combat code
JS, entries(), keys(), values(), some(), object Assign() traversal array usage
【WPF绑定3】 ListView基础绑定和数据模板绑定
For the space occupation of the software, please refer to the installation directory
线性代数感悟之2
Simulation of infrared wireless communication based on 51 single chip microcomputer
嵌入式系统中,FLASH中的程序代码必须搬到RAM中运行吗?
Detailed explanation of C webpai route
[difference between Oracle and MySQL]
随机推荐
Basic case of Baidu map
Shell script -- shell programming specification and variables
2. Electron's HelloWorld
Baidu Map Case - modify map style
freeCodeCamp----prob_ Calculator exercise
Use of shell sed command
Use of shell awk command
. net cross platform principle (Part I)
Abnormal resolution of Xiaomi camera
ASP. Net core JWT certification
RPC核心概念理解
Read a blog, re understand closures and tidy up
Shell - introduction, variables, and basic syntax
Header built-in object
Promise (II)
Use of five routing guards
For the space occupation of the software, please refer to the installation directory
tidb-server 的配置文件在哪里?
【生活中的逻辑谬误】稻草人谬误和无力反驳不算证明
MySQL installation