Serious bug/feature in qtcreator
aqtuser last edited by aqtuser
I accidentialy hit refactor on QString in a project and qtcreator refactored and destroyed the entire qt installation. Every QString was renamed into QByteArray.
Is this a bug or a feature?
I think refactoring should be limited to the current project and should not include the entire qt library.
I basically had to reinstall qt.
I admit it was a silly mistake but still ....
That's not completely surprising but indeed, some additional check might be a good idea. You should check the bug report system to see if there's something related. If not maybe open a feature request for that.
yes the ctrl+shift+r -> Refactor -> Rename is pretty dangerous
as it also change inside Qt source files.
It does show the files that will be changed
so it can be checked/validated
but if many hits, it's possible to miss and
the result can be quite frustrating.
But I guess you only do it once... ;)