1 2 3 4 5 6 7 8 9 10 11 12 13 14
import QtQuick 2.15 Item { id: theFoo required data required property Item theItem function foo() { theItem.foo("The issue is exacerbated if the object literal is wrapped onto the next line like so:", { "foo": theFoo }); } }