[Development] Build errors with custom plugin
Lincoln Ramsay
lincoln.ramsay at nokia.com
Wed Jan 11 07:39:52 CET 2012
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/
More information about the Development
mailing list