Attached an example which instantiates all 3 classes and using a binding to set the enum.
None of this should actually work. We need to output a warning when we detect it and deprecate this behavior.
|For Gerrit Dashboard: QTBUG-83703|
|298325,6||qqmltypecompiler: Be more careful when resolving enums||dev||qt/qtdeclarative||Status: MERGED||+2||0|
|304927,1||qqmltypecompiler: Be more careful when resolving enums||5.15||qt/qtdeclarative||Status: ABANDONED||0||0|
|353400,5||Allow registration of enums from related types to be switched off||dev||qt/qtdeclarative||Status: MERGED||+2||0|