Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-25776

QtCreator fall after using "Refactor" menu for std::vector

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.15.0
    • Fix Version/s: Qt Creator 5.0.0-beta1
    • Component/s: C/C++/Obj-C++ Support
    • Labels:
      None
    • Environment:
      Qt6.1.1 Windows 10
    • Platform/s:
      Linux/Wayland, Linux/X11, Windows
    • Commits:
      4ff26e2a27d692b8b38456873e5aaf4b65c36ee3 (qt-creator/qt-creator/5.0)

      Description

      If you try to any items except "Rename" in "Refactor" menu for a std::vector<type> in custom class, the QtCreator will crash.

      Step to reproduce:

      1. Open custom class and create std::vector<int> m_member
      2. Right click on m_member and  select "Refactor"
      3. Select "Generate setter" in pop-up menu
      4. QtCreator will crush

       

        Attachments

        For Gerrit Dashboard: QTCREATORBUG-25776
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            artifeks Петр Миронычев
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes