Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
.ui file changes not applied to executable after compiling
walle19 last edited by
My platform: Linux Kubuntu 14
QT Version: 4.8
I am working on a project which consists of several .cpp files.
Most of these files include .h files that were generated from .ui files desgined via the qt designer tool.
The steps taken to build the project as follows:
- qmake -project
- qmake [file].pro
- make clean
- make mocables
- g++ compiling command
This generally works fine for me generating the (.so) files and executable as intended. Changing .h or .cpp files and building again will generate the updated executable.
My problem is as follows:
If changing the .ui file (I have only one in this project), via qt designer tool (and saving the changes), and running the build process again - the changes are not seen when running the executable.
Only when deleting the .ui's corresponding .h file and building the project again, the executable that is generated consists the changes that were performed on the .ui file.
Any help is much appreciated.