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.ja...@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@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest