[SOLVED] Compiling the Qt 4.8.3 source with RTTI support for using the dynamic_cast
-
Hi,
I've compiled the Qt 4.8.3 from source with these instructions and flags:
configure -platform win32-g++ -debug-and-release -rtti -exceptions -no-phonon -no-phonon-backend -fast -opensource -shared -qt-sql-mysql -l mysql -I c:\mysql\include -L c:\mysql\lib\opt
mingw32-make
I used -rtti for enabling the dynamic_cast but I can't use it because I get error message when I want to link my program:
dynamic_cast_will_always_fail_because_rtti_is_disabledI don't understand what is the problem. When I use the old Qt 4.8.0 from QtSDK, everything is OK.
Any suggestion is welcomed.
Thank you!Best regards