⚠️ Forum Maintenance: Feb 6th, 8am - 14pm (UTC+2)
How can I make the Qt Creator auto-update the ui header file ?
-
Hi.
I want to make the Qt Creator auto-update the ui header file when I change something in the designer.
I remember that it can do it but it isn't in linux.
-
@Mihan UI header file is generated when you build, so just build after changing the UI
-
@Mihan IIRC, rerunning qmake (if you use that build system) should be enough. As the UIC needs to run before qmake can do its job.
-
@J-Hilk @jsulm Thanks
But It seems that I must reload(or reopen) the cpp file so that it uses the new ui header file