Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
6.8
-
None
-
-
3d6c2827a (dev), 1d1a3de8b (6.8)
Description
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.