@crueegg
Hi, unfortunately, we had to cope with the same issue. The only way to circumvent it was to create a singleton class that handles a mapping between the id of the QMetaType and the custom alias.
See https://gitlab.inria.fr/dtk/dtk-core/-/issues/30 for more details.
Thib.
-
Unsolved QMetaType alias in Qt6
General and Desktop • • crueegg -
Unsolved QHash vs QQmlPropertyMap
QML and Qt Quick • • texasRanger