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

qmake come with Qt5.1.0 (beta) always select the default compiler come with XCode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4: Low
    • None
    • 5.1.0 Beta 1
    • Build tools: qmake
    • None
    • os : mac osx 10.8.3
      compiler : gcc4.8, clang3.2

    Description

      QT Creator/qmake ignores a custom compiler path specified for a chosen kit. Instead, it generates a makefile with the Xcode versions of GCC and G++ for the CC and CXX rather than the paths chosen in the kit.

      The makefiles generated by the qmake of Qt5.0.2 and Qt5.1.0 have some difference
      It will always select the default compiler come with XCode(if I interpret the makefile correctly)

      The make file generated by qmake come with Qt5.1.0 beta

      // Compiler, tools and options

      CC = /Applications/Xcode.app/Contents/Developer/usr/bin/gcc
      CXX = /Applications/Xcode.app/Contents/Developer/usr/bin/g++
      .......
      LINK = /Applications/Xcode.app/Contents/Developer/usr/bin/g++

      // Output directory

      The makefile generated by Qt5.0.2

      // Compiler, tools and options

      CC = gcc
      CXX = g++
      .......
      LINK = g++

      // Output directory

      There are some problems if the compiler switch to clang too
      The compiler will always be the default compiler come with XCode

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              stereomatching stereoMatching
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes