Ensuring RTTI is on for QtCreator
-
I am developing a Qt 5 desktop application (Linux) where one component in the architecture requires RTTI for release. When executing this code via QtCreator I get a RTTI run-time error.
I've been having difficulty debugging, so I'm investigating to see if something may be occurring with Qt.
- Are the release versions of the Qt libraries and QtCreator compiled with RTTI turned off or on by default?
- If RTTI is off by default, what is the best way to turn RTTI on and recompile (for example, CONFIG += RTTI?)?
I've been running in circles on this and would greatly appreciate the benefit of someone else's experience.
Thanks in advance.
Regards,
George