Serious bug/feature in qtcreator



  • Hi,

    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 ....


  • Lifetime Qt Champion

    Hi,

    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.


  • Qt Champions 2016

    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... ;)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.