On 01/11/2012 04:06 PM, ext Ismael Luceno wrote:
> error: invalid static_cast from type 'QObject*' to type
> 'QAndroidPlatformScreen*'

Is this GCC 4.6 by any chance?

I've had a report of it failing to compile some moc-generated code in my 
project too. I don't know this code but in my code's case, the error 
looked bogus to me (ie. it was a perfectly valid use of static_cast as 
far as I'm aware).


-- 
Lincoln Ramsay - Senior Software Engineer
Qt Development Frameworks, Nokia - http://qt.nokia.com/
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to