Hi everybody, I would use Reflection on Qt, but I do not know how I can do that. In Java, any object can be instantiated and be called even if unknown. In Qt, I can only do this when I know that this object. Has anyone used Reflection in Qt?
My Object:
Qt Code:
{ Q_OBJECT public: Q_INVOKABLE virtual ~Obj(); Q_INVOKABLE uint getKey(); };To copy to clipboard, switch view to plain text mode
Bookmarks