Hi all. I am using QT meta object system for my app-specific interfaces like this:

Qt Code:
  1. class MyInterface {
  2. // interface description here
  3. }
  4. Q_DECLARE_INTERFACE(MyInterface, "com.my-org.MyInterface/1.0")
  5.  
  6.  
  7. class MyInterfaceImplementor: public QObject, public MyInterface {
  8. Q_OBJECT
  9. Q_INTERFACES(MyInterface)
  10.  
  11. // MyInterface implementation
  12. }
  13.  
  14. auto pInstance = new MyInterfaceImplementor();
To copy to clipboard, switch view to plain text mode 

So, my pInstance have an metaObject(). How can i query this metaObject() for query list of interfaces, implemented on it? All interfaces have been registered using Q_DECLARE_INTERFACE.