I'm consistently getting "warning C4946: reinterpret_cast used between related classes: 'QObject' and 'QLabel'" when compiling code like the following in VC7:
Qt Code:
{ if (aLabel) { ... } }To copy to clipboard, switch view to plain text mode
I'm having a hard time to understand why qobject_cast would issues this warning and was hoping for some help to better understand what I'm doing/using wrong?
I (always) compile on the Windows platform with the -Wall and -WX options.
Bookmarks