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

Details

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

    Description

      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

      Attachments

        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.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes