What is qobject_cast?
Before you start learning what qobject_cast is, you would need to know what C++’s dynamic_cast is. Dynamic cast is all about polymorphism. C++’s dynamic cast uses RTTI (Run Time Type Information) to cast an object. But qobject_cast does this without RTTI. What is dynamic cast? For example suppose we’ve got a car factory function. Like … Read more