[Interest] kernel/qdnd_mac.mm:628: error: ‘SetRect’ was not declared in this scope
Raul Metsma
raul at innovaatik.ee
Mon Apr 23 08:58:51 CEST 2012
With 4.8 if you build carbon version on lion then you still hit the error and you have to set SDK to 10.6
and yes I need carbon support
http://doc-snapshot.qt-project.org/5.0/developing-on-mac.html
Note: There is no accessibility support in the Cocoa version. This is planned for Qt 4.8.
Second there are some path problems with XCode 4.3
Apple has bundled all SDK in App bundle now,
Bye Bye /Develeoper folder
new path is
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
and Qt Creator cannot find by default toolchains
Raul
On 22.04.2012, at 14:12, Till Oliver Knoll 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/92e4bba8/attachment.html>
More information about the Interest
mailing list