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

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 6.1.3
    • Fix Version/s: None
    • Component/s: Core: Object Model
    • Labels:
      None
    • Platform/s:
      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
          Shiva Santosh Reddy
        2. main.h
          0.3 kB
          Shiva Santosh Reddy
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            thiago Thiago Macieira
            Reporter:
            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