Important: Please read the Qt Code of Conduct -

[Solved]Renaming files

  • hello,

    I am not able to rename the header files in Qt, but renaming of the coresspondin .cpp and .ui was possible. when i try to rename it, returns to the old name.


  • Are you using some IDE? if yes it can be a bug.

    And if you rename the files by system? (just remenber to adjust .pro and #include to new name.)

  • yep , using Qt Creator.
    I kinda fixed it.
    Had to adjust the pro file cuz simply renaming did not changed it. I made the necessary changes in the other files using the same. Changed the file names from the system. saved them all

    So i clearly dont know which of my actions did the trick

Log in to reply