qtdeclarative/tests/auto/qml/qmlcppcodegen/data/objectWithStringListMethod.qml

8 lines
192 B
QML

import QtQml
import TestTypes
QtObject {
readonly property ObjectWithStringListMethod foo: ObjectFactory.getFoo()
Component.onCompleted: console.log(foo ? foo.names().length : "-")
}