Multiple inheritance from Qt library
-
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?
-
Hi,
From Qt types ? Yes, but not from QObject and QObject derived class
-
Sounds like you want composition not inheritance anyway.
-
Have a look at "this thread":http://qt-project.org/forums/viewthread/20044. Hope it helps.