Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.5.0
-
None
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.