How to set compiler in Qt creator in Mac?



  • I intall the qt-opensource-mac-x64-clang-5.3.1.dmg
    and open a .pro in Creator, but it recomment me to set a compiler when i compile.
    I have Xcode v4.6 on my Mac.
    should I install anything else? or how to configure it?
    thank you



  • If you have qt and Xcode installed it should automatically detect the same. You go to "Qt Creator->Preferences->Build and Run->Kits" and try setting there. There are multiple tabs to set kit, compiler etc.



  • yep, i found there, but there is a red exclamatory mark before the desktop Qt 5.3 clang 64bit (in Kit and Qt versions).
    and in compiler, it detected iphoneos-clang, iphonesimulator-clang, and i tried them with the qt-opensource-mac-x64-ios-5.3.1.dmg, but still not success.
    in the project settings, the Makefile is blank and not found...


  • Lifetime Qt Champion

    Hi,

    Xcode 4.6 is pretty outdated, the current version is 5.1.1 and 6 is almost out. You should first thing update your installation if possible.

    Otherwise you also need to install the command line tools.



  • thank you:)
    the command line tools?
    is it include xcode or should i download it ?


  • Lifetime Qt Champion

    Xcode -> Preferences -> Downloads



  • bq. Xcode -> Preferences -> Downloads

    It works with Components -> Command line tools
    Mac OS X 10.8.5
    xcode_5.1.1
    qt-opensource-mac-x64-ios-5.3.2

    We can put "RESOLVED".

    Thanks!



  • bq. Xcode -> Preferences -> Downloads

    It works with Components -> Command line tools
    Mac OS X 10.8.5
    xcode_5.1.1
    qt-opensource-mac-x64-ios-5.3.2

    We can put "RESOLVED".

    Thanks!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.