How rename source files in QtCreator? I have changed name of class but I don't see option to change files it containing. I'm using 2.7.0 version.
If you're using qmake, renaming is easy. Find your files in "Projects" left panel and choose "Rename" in the context menu. Qt Creator will automatically edit .pro
file replacing filenames.
This option doesn't work with cmake projects. If you're using cmake, you need to rename files outside of Qt Creator. May be you then need to adjust your CMakeLists.txt
file to include new filenames in the project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With