[Interest] qobject_cast returns 0

Alexander Dyagilev alervdvcw at gmail.com
Fri Jan 27 21:24:51 CET 2017


Hello,

got one yet another qt bug(?) ....

qobject_cast<MyClass*> returns 0

dynamic_cast works fine.

MyClass is derived from a base class derived from QObject.

Q_OBJECT macro is present...




More information about the Interest mailing list