Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Serious bug/feature in qtcreator
Forum Updated to NodeBB v4.3 + New Features

Serious bug/feature in qtcreator

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 3 Posters 701 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • aqtuserA Offline
    aqtuserA Offline
    aqtuser
    wrote on last edited by aqtuser
    #1

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

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved