QSharedPointer casting
-
I cant get any form of casting to work on QSharedPointer
What is the proper way to do this?EDIT: working now
QSharedPointer<Base> b;
QSharedPointer<Derived> d = qSharedPointerDynamicCast<Derived>(b); -
Hi and welcome to devnet,
Nice you found out and thanks for sharing.
Can you also please update the thread title prepending [solved] so other forum users may know a solution has been found :)