it seems the problem is that class instance is created in one DLL while
qobject_cast is called for this instance in another DLL...
can this be the reason?
what can be done then?
On 1/27/2017 11:24 PM, Alexander Dyagilev wrote:
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...
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest