Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 788
Chris Avatar asked Dec 07 '10 23:12

Chris


People also ask

What is difference between Qt Designer and Qt Creator?

Qt Creator is Qt's IDE. You don't have to use it, but it greatly simplifies Qt development. Qt Designer is a graphical tool that lets you build QWidget GUIs. Qt Quick Designer is similar, but for building QML GUIs.

What is .UI file in Qt?

ui file is used to create a ui_calculatorform. h file that can be used by any file listed in the SOURCES declaration. Note: You can use Qt Creator to create the Calculator Form project. It automatically generates the main.

Is Qt Designer part of pyqt5?

Installing and Running Qt Designer Here, you create a Python virtual environment, activate it, and install pyqt5 and pyqt5-tools . pyqt5 installs PyQt and a copy of the required Qt libraries, while pyqt5-tools installs a set of Qt tools that includes Qt Designer.

Can you use Qt Designer with Pyside?

PySide2 Tutorial — Creating applications with Qt Designer The good news is that Qt comes with a graphical editor — Qt Designer — which contains a drag-and-drop UI editor. Using Qt Designer you can define your UIs visually and then simply hook up the application logic later.


1 Answers

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
like image 102
ironic Avatar answered Sep 19 '22 22:09

ironic