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

Connecting to QML Signals example code does not work

    XMLWordPrintable

Details

    Description

      When creating a project from the sample code supplied here:

      https://doc.qt.io/qt-6/qtqml-cppintegration-interactqmlfromcpp.html#connecting-to-qml-signals

       

      This implementation does not work and only returns an error message 

      qt.core.qobject.connect: QObject::connect: Cannot connect (nullptr)::qmlSignal(QVariant) to myClass::cppSlot(QVariant)

       

      Attachments

        Issue Links

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

          Activity

            People

              lexcaz Alexei Cazacov
              kevin.zhang Kevin Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes