[Interest] Qt 5 LTO build on OS X 10.9 (and earlier)

René J. V. Bertin rjvbertin at gmail.com
Sat Sep 12 00:22:18 CEST 2015

Thiago Macieira wrote:

> On Friday 11 September 2015 21:48:32 René J. V. Bertin wrote:
>> About using alternate compilers: I haven't yet figured out how to get qmake
>> to  build using the compiler of choice, as well as the config tests. For
>> qmake the compiler choice probably doesn't make a lot of difference, but
>> the config tests probably best be done with the compiler that's used to do
>> the actual build, don't you think?
> I wouldn't know. There's some extra magic on OS X because of the SDKs. I have
> never investigated that and don't understand it.
> That probably means LTCG on Mac is busted because I've never tested it.

The compiler mismatch is independent from using LTO of course.

I could file a bug report on this, if at least it is supposed to be possible to 
build Qt with a different compiler than the one provided via Xcode.


More information about the Interest mailing list