当前位置:网站首页>QT modification UI does not take effect

QT modification UI does not take effect

2022-04-23 17:28:00 Xiaoying Information Technology Service Department

Two years later , Finally, I have a chance to use it Qt Do the actual project .

Create a new project , And made some modifications to the main form , However, it is found that the runtime always runs the form before modification , In other words, the modification of the interface has not taken effect :

Online inquiry found the answer .

It turned out that I changed the form name halfway .

The solution is to replace all the old class names in various files with new class names .

Run again after modification , effect :

Reference resources :qt - QtCreator Build doesn't update UI changes in design form - Stack Overflow

版权声明
本文为[Xiaoying Information Technology Service Department]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231724095445.html