cant delete unused properties from ui_ prefixed headers
U7Development last edited by
i was creating my mainwindow with the typical top menu (file, edit, etc) its name is wmainwindow.h.
Qt uses a hidden ui prefixed file in this case ui_wmainwindow.h, problem is i have changed some names to first menu and on the second menu i tried to write the first menu name, but older names still remains on ui header, so when i try to put open_file, it puts open_file_2 and can't change it back, tryied to edit ui header but it resets next compiling time...
tryied to edit ui header but it resets next compiling time
- Edit the name in Qt Designer.
- Save all your files.
- Compile again.
You cannot edit the ui_*.h header directly.
tryied to edit ui header
To make it clear: this file is generated! Each time it is generated your changes will be lost, so do not edit it!
Do as @JKSH suggested.