Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.0
-
None
-
80ed6679c (dev), a2321519f (6.5)
Description
Compiling
import QtQuick import QtQuick.Window Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Rectangle { anchors.fill: parent MultiPointTouchArea { anchors.fill: parent touchPoints: [ TouchPoint { id: point } ] onPressed: (touchPoints) => console.log(touchPoints) } } }
runs into
Warning: Main.qml:19:13: Type QList<QObject*> of parameter touchPoints in signal called pressed was not found, but is required to compile onPressed. Did you add all import paths? [signal-handler-parameters] onPressed: (touchPoints) => console.log(touchPoints) ^^^^^^^^^
. You need to register a QML_SEQUENTIAL_CONTAINER to get rid of that warning.
Attachments
For Gerrit Dashboard: QTBUG-112529 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
475937,6 | QmlCompiler: Recognize QList<QObject*> as QObjectList | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
476067,3 | QmlCompiler: Recognize QList<QObject*> as QObjectList | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |