[Qt-interest] No RTTI information for QTreeWidgetItem

Eric Clark eclark at ara.com
Mon Jun 1 22:05:07 CEST 2009


Hello All,

I have a class that inherits QTreeWidgetItem. When I attempt to do a dynamic_cast on a QTreeWidgetItem that was created using my subclass BaseTreeWidgetItem I get an exception thrown by Microsoft C++ that says the object is a __non_rtti_object. Has anyone seen this problem? If I just cast the object instead of using a dynamic_cast everything works just fine.

Thanks in advance!
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090601/1bf75406/attachment.html 


More information about the Qt-interest-old mailing list