Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to change toolchain [MacOSX]
Forum Updated to NodeBB v4.3 + New Features

How to change toolchain [MacOSX]

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nen777w
    wrote on last edited by
    #1

    Hi!
    Recently I migrate to MacOSX 10.8.4 with QtCreator 2.8.0.
    I install XCode and command line tools from AppStore, but unfortunately it include only gcc 4.6 which isn't support futures from C++0x/11
    Then I install from macports gcc 4.8 and add it to QtCreator->Preferences->Build & Run->Compilers and specify this compiler in Kit settings.
    But as I understand I miss something, because after that qmake generate in Makefile:
    CC = /Applications/Xcode.app/Contents/Developer/usr/bin/gcc
    CXX = /Applications/Xcode.app/Contents/Developer/usr/bin/g++
    but my compiler situated in /opt/local/bin
    how to fix it?

    1 Reply Last reply
    0
    • N Offline
      N Offline
      nen777w
      wrote on last edited by
      #2

      I find solution right after the puplic this post.

      Specify:
      QMAKE_CC = /opt/local/bin/x86_64-apple-darwin12-gcc-4.8.1
      QMAKE_CXX = /opt/local/bin/x86_64-apple-darwin12-g++-mp-4.8

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        IIRC you should be using clang with that version of Xcode

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved