Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-659

Shiboken doesn't handle virtual const methods correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5: Not important
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.9
    • Fix Version/s: None
    • Component/s: Shiboken
    • Labels:

      Description

      A method declaration like the following:

      class  Foo
      {
      public:
          Foo();
          virtual ~Foo();
          virtual const std::string getBar() const;
      };
      

      generates a error like so with MSVC:

      error C3668: 'FooWrapper::getBar': method with override specifier 'override' did not override any base class methods
      

        Attachments

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

          Activity

            People

            • Assignee:
              kleint Friedemann Kleint
              Reporter:
              alexandru.croitor Alexandru Croitor
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes