Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-97858

No such signal error for slot parameter of type of std::shared_ptr<T>, where T is in a namespace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.1.3
    • Core: Object Model
    • None
    • Windows

      When trying to connect a signal & slot which has paramter as shared potiner of a type declared in a namespace. 

      qt.core.qobject.connect: QObject::connect: No such signal name::ObjectClass::itemAdded(std::shared_ptr<name::Item>)

      Code to reproduce is attached in main.h & main.cpp

        1. main.cpp
          0.5 kB
        2. main.h
          0.3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            thiago Thiago Macieira
            santosh reddy Shiva Santosh Reddy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes