Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

calling functions with typedef arguments in qml

$
0
0
what is the difference between this two functions when calling from qml: typedef QVariantMap NewType; Q_INVOKABLE QVariantMap testFunc(); Q_INVOKABLE NewType testFunc(); calling first function works but calling second function gives error. how can i tell to qml engine that NewType is same as QVariantMap?

Viewing all articles
Browse latest Browse all 4972

Trending Articles