Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Multiple inheritance from Qt library
user001 last edited by
It seems Qt doesn't allow multiple inherit. I have a super class which extends QWidget. Some of the subclass will be QDialog and some will be QFrame. But Qt throws "ambiguous access of "XXXXMethod" ".
There is no way to inherit more than one Qt types?
From Qt types ? Yes, but not from QObject and QObject derived class
ChrisW67 last edited by
Sounds like you want composition not inheritance anyway.
KA51O last edited by
Have a look at "this thread":http://qt-project.org/forums/viewthread/20044. Hope it helps.