Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.0 RC
-
a3f2857eb (dev), fa259ed4f (dev), 653a6ff82 (dev)
Description
Warning: listproperty-warnings.qml:19:48: Cannot assign binding of type QQmlListProperty<Controller> to QObjectList [incompatible-type] property list<Controller> controllers: cppModel.controllers ^^^^^^^^^^^^^^^^^^^^ Warning: listproperty-warnings.qml:19:68: Could not compile binding for controllers: cannot convert from QQmlListProperty<QObject> of CppModel::controllers with type Controller to QObjectList of QObjectList [compiler] Warning: listproperty-warnings.qml:29:52: Could not compile binding for text: Member foo of Controller of (component in /home/jopoikel/work/customer/build-qmlpropertylist-Desktop_Qt_6_5_0_GCC_64bit-Debug/src/listproperty-warnings.qml)::modelData with type Controller can be shadowed [compiler] text: `Controller: ${modelData.foo}` ^^^
Attachments
For Gerrit Dashboard: QTBUG-112227 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
472510,5 | QmlCompiler: Allow conversion from QQmlListProperty to QList | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
472518,5 | QmlCompiler: Recognize QStringList and QVariantList as special lists | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
472892,2 | QContainerInfo: Detect presence of reserve() | dev | qt/qtbase | Status: MERGED | +2 | 0 |