Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-26140

configure script ignores Apple clang installed with Xcode 4.5 in OS X 10.7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.0.0
    • 5.0.0 Beta 1, 5.0.0 RC 1, 5.0.0
    • Build System
    • None
    • OS X 10.7.4, Xcode 4.5 DP
    • macOS
    • 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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            srutledg Shawn Rutledge
            stephenju Stephen Chu
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes