Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Strange behaviour of GUI design and runtime GUI
Guest last edited by
I have a project in which I created a GUI 2-3 months ago. It worked and still works very well. Now I decided to add some other elements such as buttons, text fields on GUI. In Qt Designer 4.0.3 I added the elements but if I run the program I don't see the new elements. It shows only old elements that previously (2-3 months ago) added.
I bakced up and deleted *.ui file, the projects is of course not compiled. I backed up and deleted *.pro.user file, still the same, and there is no "Layout".
Im adding pictures to explain clearly:
In Qt Designer:
In Runtime exe:
What can be wrong?
kahlenberg last edited by
Ohh sorry, I forget to log in.
VRonin last edited by
Try re-running qmake (build->run qmake in Qt Creator) and/or deleting the build directory
kahlenberg last edited by kahlenberg
I forget to mention it. I cleaned the project, build directory, I re-run the qmake and re-build. Still same.
@kahlenberg Probably the build directory is still the old one ?