-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.4.0 RC1
-
-
e9155711f (dev), f8091d321 (6.5), 9abd54590 (dev), ebbbe3ce0 (6.5)
When passing a custom QList to qml:
typedef QList<QColor> ColorList;
Q_DECLARE_METATYPE(ColorList)
void main()
{
//...
qRegisterMetaType<ColorList>("ColorList");
}
class MyClass : QObject
{
QML_ELEMENT
Q_PROPERTY(ColorList colors)
};
then qmlint shows this warning:
:-1: error: Example.qml:47:28: Type "ColorList" of property "colors" not found. This is likely due to a missing dependency entry or a type not being exposed declaratively.
Replacing "ColorList" with "QVariantList" removes this error but then also the type information (e.g. "QColor") is lost in Qml.
- resulted in
-
QTBUG-106886 QtLocation cannot be used with qmlsc in direct mode
-
- Closed
-
-
QTBUG-106887 CMake does not pass --private-includes to qmltyperegistrar if the QML module target is the private library itself
-
- Closed
-
-
QTBUG-110469 "Extending QML" example: Cover QML_SEQUENTIAL_CONTAINER
-
- Closed
-
| For Gerrit Dashboard: QTBUG-106869 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 454377,3 | QML: Document QML_SEQUENTIAL_CONTAINER | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
| 454379,4 | qt_add_qml_module: Document QT_QMLCACHEGEN_DIRECT_CALLS | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
| 455689,2 | qt_add_qml_module: Document QT_QMLCACHEGEN_DIRECT_CALLS | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
| 455824,2 | QML: Document QML_SEQUENTIAL_CONTAINER | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |