Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
561 views
in Technique[技术] by (71.8m points)

user interface - Qt designer does not update the gui

Someone wrote out a GUI in Qt designer earlier and now I have to modify some small parts (i.e. add a button/functionality).

Premise: I add the new feature/make any modification to the .ui file in Designer. I can go to edit mode and see that this makes changes to the xml format of the .ui file

Problem: When I build and run Qt, the old version of the .ui is what is shown (without my feature upgrades). I tried cleaning everything and running qmake, but to no avail.

Any ideas for why this could be happening?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I had the same problem and it was solved when I disabled "Shadow Build" in "Projects" mode.

UPD: Still receiving upvotes for this answer makes me sad for 2 reasons

  • it is trivial
  • the issue is still there after almost 5 years

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...