Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
6.4.2, 6.5.0 Beta1
-
None
Description
The attached example returns a list of objects known to QML using Q_INVOKABLE. The compiler does not know that type:
Warning: main.qml:11:46: Could not compile binding for onCompleted: return type QList<Entry*> cannot be resolved [compiler] Component.onCompleted: console.error(Foo.entries()) ^^^^^^^
Same for Q_PROPERTY.
Attachments
Issue Links
- duplicates
-
QTBUG-109116 QList<Pointer> not compilable
- Open