Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
Qt Creator 3.5.0
-
None
-
Linux, gcc 4.8
Description
Qt Creator 3.5 at 0780c1d7634d4e7c9314deba14f370d1f2a14ea6 with test project using Qt 5.6 qtbase at 35793cea28c4bd1d6d8fbae884d9ae3c19745c61
- With code like:
#include <QCoreApplication> #include <QMetaType> const char *dummy[] = {"bla"}; int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); return a.exec(); }
- Right click on "dummy", choose Refactor/Rename
- Briefly wonder that the bottom pane for renaming pops up and inline editing is not possible
- Rename "dummy" to something else
- Compile the project
- Marvel at gazillons of error messages
What happened is parameter "dummy" of qRegisterNormalizedMetaType() at qtbase/src/corelib/kernel/qmetatype.h:1678 got renamed, too.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-6172 Incorrect implementation of the "Refactor -> Rename Symbol Under Cursor"
-
- Closed
-
- resulted in
-
QTBUG-72766 Install headers as read-only to prevent accidently modifications
-
- Reported
-