Relative Content

Tag Archive for c++qtinterface

Using `Q_INTERFACES` and invoking methods in the interfaces

In Qt, I understand that I cannot multiply inherit QObjects. It appears that a QObject can inherit a Q_GADGET, but it appears that I cannot invoke gadget methods by name. It seems like Qt’s Q_INTERFACES features are appropriate for this, but I can’t seem to make it work.