I searched but found nothing about this problem. Thanks for any help.

How to expose C++ enum in a namespace to QML ?

I've enum Presence in namespace A::B.
enum Presence used in class C, with declration: Q_ENUMS(A::B::Presence).

But I don't know how to export and use enum A::B::Presence in QML.