Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7.2
-
None
-
-
92e57874e (dev), 40582a590 (6.8), 274342571 (6.7)
Description
When attempting to pass a property of type QList<QObject *> to an invokable method argument of the same type, the following error is thrown:
TypeError: Passing incompatible arguments to C++ functions from JavaScript is not allowed.
This error is not thrown in 6.6.2.
Attached is a minimal example.
Attachments
For Gerrit Dashboard: QTBUG-127704 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
580937,5 | QmlEngine: Add support for sequences to CallArgument::fromValue | dev | qt/qtdeclarative | Status: MERGED | +2 | +1 |
582023,2 | QmlEngine: Add support for sequences to CallArgument::fromValue | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
582051,2 | QmlEngine: Add support for sequences to CallArgument::fromValue | 6.7 | qt/qtdeclarative | Status: MERGED | +2 | 0 |