[Development] OSX: building against the 10.6 SDK with Qt 5.1?

Josh Faust jfaust at suitabletech.com
Wed Apr 3 20:29:28 CEST 2013


No, the Apple API headers don't use that to compile-out API based on the
max-allowed version. It's only for user code.


On Wed, Apr 3, 2013 at 11:21 AM, Jake Thomas Petroules <
jake.petroules at petroules.com> wrote:

> Can't you just set __MAC_OS_X_VERSION_MAX_ALLOWED to 1060 with the 10.8
> SDK?
>    --
> *Jake Petroules*
> Chief Technology Officer
> Petroules Corporation ยท www.petroules.com
> Email: jake.petroules at petroules.com
>
> On Apr 3, 2013, at 2:10 PM, Josh Faust <jfaust at suitabletech.com> wrote:
>
>
> The question is why you want to build against the 10.6 SDK?
>
>
> Because it's recommended across the internet as the only way to
> compile-time check that you're only using 10.6 APIs (and, despite what you
> say, it does generally work). We started building Qt with it because
> various configuration options can make Qt build binaries that are
> incompatible with 10.6 (such as building with clang, which always uses
> libc++, which is not available on 10.6).
>
> Now that we have the correct configure options I guess we can rely on the
> minimum version, but it's painful finding out only at runtime that the
> version you built is actually not 10.6 compatible.
>
> Josh
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130403/2e9541ce/attachment.html>


More information about the Development mailing list