Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 12.0.2
-
None
-
-
5afdc4776 (13.0), 22a1f1177 (master)
Description
Qt Creator 12.0.2 (Commercial)
Based on Qt 6.6.0 (GCC 10.3.1 20210422 (Red Hat 10.3.1-1), x86_64)
Built on Feb 6 2024 10:09:23
First of all, I preferred when "Rename" was under Refactor which made it more obvious what it was doing. That's where all the other IDEs I use place it, but that's just a personal preference I guess.
Anyway, when rename is used in a source (.cpp) file, it is not renaming the variable in the header (.h) file. I've used refactor rename in many versions of QtCreator and it always worked file.
This is pretty a vanilla QtCreator project that I created for experimenting with Boot2Qt on a Raspberry Pi 4. Desktop and Boot2Qt versions 6.6.2. The only changes I really made was to start trying to use/experiment with the Qt PdfWidgets.
I wonder if it's related to a strange warnings I get at the top of the .cpp file about the headers include statements, both were generated by Qt when I created the project...
In MainWindow.cpp, I get the following warnings (image attached):
Included header MainWindow.h is not used directly (fixes available)
Included header ui_MainWindow.h is not used directly (fixes available)