I was able to get static_cast to work also if I static casted the QGraphicsItem* to a DerivedObject* and then static casted the DerivedObject* to a BaseObject*. I'll probably just derive my BaseObject from QGraphicsPathItem since it has most of what I need and just use static_cast to avoid the RTTI.
- Swyped from my droid. On May 22, 2013 1:15 PM, "Alex Malyushytskyy" <alexmal...@gmail.com> wrote: They are not. static_cast exists for purpose. On Wed, May 22, 2013 at 10:10 AM, Constantin Makshin <cmaks...@gmail.com> wrote: > > Well, C-style... _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest