Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to set compiler in Qt creator in Mac?
Qt 6.11 is out! See what's new in the release blog

How to set compiler in Qt creator in Mac?

Scheduled Pinned Locked Moved General and Desktop
8 Posts 4 Posters 2.8k 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.
  • O Offline
    O Offline
    opengpu
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Moderators Qt Champions 2024 Qt Champions 2022 Qt Champions 2017
      wrote on last edited by
      #2

      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.

      Dheerendra
      @Community Service
      Certified Qt Specialist
      https://www.pthinks.com

      1 Reply Last reply
      0
      • O Offline
        O Offline
        opengpu
        wrote on last edited by
        #3

        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...

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

          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.

          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
          • O Offline
            O Offline
            opengpu
            wrote on last edited by
            #5

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

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

              Xcode -> Preferences -> Downloads

              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
              • T Offline
                T Offline
                tigroo
                wrote on last edited by
                #7

                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!

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tigroo
                  wrote on last edited by
                  #8

                  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!

                  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