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

Crashes when right click on virtual ancestor class name in definition of class inheritor

    XMLWordPrintable

Details

    Description

      interface.h

       

      #include <QWidget>
      class Interface
      {
      public:
          using SomeDef = QWidget(); //error 
          virtual void SomeMethod() = 0;
      }
      

      ...

      implementation.h

       

      #include "interface.h"
      class Implementation: public Interface
      {
      public:
      }
      

       

      When right click on "Interface" word in implementation.h or pressing ALT+Enter, for insert virtual methods overrides, creator crashes

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kosjar Nikolai Kosjar
            trkeast Pavel Lobach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes