Unsolved Generated ui_mainwindow.h file is generated with errors
-
Hello everyone,
It seems after a downgrade of my Qt from 5.12 to 5.9.5.
I got these kind of errors:I can't update my Qt. Is there anything to correct this bug. Don't wanna delete the lines in cause everytime, I change a thing on the ui.
Thanks a lot,
Eve
-
@Everdream Do a complete rebuild: delete build folder, run qmake and build
-
It's effectively worked.
Thanks!
-
@Everdream Just to explain: ui_* files are auto-generated during build. So, if you built with a newer Qt version you already have these ui* files which rely on newer Qt version. If you built again (not a complete rebuild) these ui_* files will not be generated as they are already there (unless you changed something in *.ui files in designer).
Please mark the topic as solved.