-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8
-
None
-
-
3d6c2827a (dev), 1d1a3de8b (6.8), 80c6d3c08 (dev), 0f868c885 (6.8), 12fb7d274 (dev), 94cbd20c8 (dev), f3d4b786d (6.8), 7157c897f (dev), 7ed5f038f (dev), bf7261d67 (dev), a75a06ede (6.8), 070739086 (dev), 04fe9e7c6 (6.8)
Somehow type registration using the following form:
struct QQmlProtobufFixed32Foreign
{
Q_GADGET
QML_FOREIGN(QtProtobuf::fixed32)
QML_USING(uint32_t)
};
breaks the Android protobuf tests.
The issue is only reproducible in CI for me. Once the ProtobufQuick library is linked to a test qml modules like tst_protobuf_basictypes_qml they stop work as they did before the ProtobufQuick was introduced. The issue is not reproducible in host platforms.
Any assignment to value type fields, that have the type that is registered as QML_USING throws the "Type error" exception.
For Gerrit Dashboard: QTBUG-127174 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
576728,3 | Disable QML Protobuf tests in Android | dev | qt/qtgrpc | Status: MERGED | +2 | 0 |
576838,2 | Disable QML Protobuf tests in Android | 6.8 | qt/qtgrpc | Status: MERGED | +2 | 0 |
582000,6 | Revert "Disable QML Protobuf tests in Android" | dev | qt/qtgrpc | Status: MERGED | +2 | 0 |
603023,7 | QtQml: Never check the type in AOT lookup initializations | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
603164,1 | WIP: QtQml: Never check the type in AOT lookup initializations | 6.8 | qt/qtdeclarative | Status: ABANDONED | -2 | 0 |
603320,10 | QtQml: Fix calling of method with QML_USING types | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
603397,9 | QmlCompiler: Implement calling of methods on value types | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
603551,3 | QtQml: Never check the type in AOT lookup initializations | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
603571,4 | moc: Output "isConst" attribute for methods in JSON | dev | qt/qtbase | Status: MERGED | +2 | 0 |
603581,9 | qmltyperegistrar: Pass isConst method attribute through qmltypes | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
603916,3 | QtQml: Fix calling of method with QML_USING types | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
605501,4 | QmlCompiler: Add AsVariant initializations for SetLookup | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
605982,5 | QmlCompiler: Add AsVariant initializations for SetLookup | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | +1 |
607190,2 | Revert "Disable QML Protobuf tests in Android" | 6.8 | qt/qtgrpc | Status: MERGED | +2 | 0 |