I already saw some topics about this problem, but don't found or don't understood any solution.
Currently I have two class, let's call them 'X' and 'Y'.
Y inherited QObject.
X inherited QLabel and Y.
As you can see there's ambiguity between QObject from QLabel and QObject from Y.
For example I have an issue when I write:
connect( X, SIGNAL( aSignal() ), this, SLOT( aSlot() ) );
Because of "QObject is an ambiguous base of X".
Is anyone have a solution for this ?
PS: I tried to dynamic_cast my X class to a QObject* but didn't change anything.