Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
6.5.4
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
- relates to
-
QTBUG-126136 QML signal to C++ slot connection nonfunctional if declared within the C++ object with the slot
- Closed