Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0 Beta 1, 5.0.0 RC 1, 5.0.0
-
None
-
OS X 10.7.4, Xcode 4.5 DP
-
-
98033240a8fa2fa158b175826186164651937b04
Description
Installed Xcode 4.5 DP in OS X 10.7.4. Ran configure and the script selected gcc instead of clang to build Qt 5.
The code at around line 2200 tests for OS X version and with 10.7 (11) it invokes clang -v to check the version. It then only chooses clang if the major version is 3. With Xcode 4.5, the clang version is Apple's own 4.x:
Apple clang version 4.0 (tags/Apple/clang-421.10.42) (based on LLVM 3.1svn)
The script seems to assume Xcode 4.5 can not be installed in OS X 10.7, which is not true. Xcode 4.5 is compatible with 10.7.