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

Connecting to QML Signals example code does not work

XMLWordPrintable

      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)

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes