[Interest] kernel/qdnd_mac.mm:628: error: ‘SetRect’ was not declared in this scope

James hundun.james at gmail.com
Sun Apr 22 19:49:01 CEST 2012


thanks, the latest qt package works for Mac Lion. 

just wonder what if qt stop update to support latest Mac OS X in someday?

Sent from my iPhone

On Apr 22, 2012, at 7:12 PM, Till Oliver Knoll <till.oliver.knoll at gmail.com> wrote:

> 
> 
> Am 21.04.2012 um 20:56 schrieb James Yan <hundun.james at gmail.com>:
> 
>> ...
>> 
>> but always get a strage error as title : kernel/qdnd_mac.mm:628: error: ‘SetRect’ was not declared in this scope,
>> any hint for it? thanks.
>> BTW, the same version complied successfully on Windows 7 on the same machine ( my MBP ) .
> 
> No surprise there: said file is a platform-specific file ("_mac" - sic!) which doesn't get compiled but on OS X.
> 
>> ../../include/QtCore/../../src/corelib/global/qglobal.h:320:6: warning: #warning "This version of Mac OS X is unsupported"
> 
> "Use the Log, Luke, use the Log!"
> 
> Changing the platform SDK to 10.6 probably helps, as indicated above. Alternatively upgrade to Qt 4.8 which officially supports Lion.
> 
> (If you're brave you could also modify said global.h and disable the version check there and see how it turns out - but that's so evil that I haven't even suggested it ;))
> 
> Cheers, Oliver
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120423/ff85fff1/attachment.html>


More information about the Interest mailing list