Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Not able to set the compiler for Qt
QtWS25 Last Chance

Not able to set the compiler for Qt

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
macclangkit setup
7 Posts 3 Posters 3.0k Views
  • 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.
  • R Offline
    R Offline
    roshKrish
    wrote on 27 Oct 2016, 14:50 last edited by koahnig
    #1

    This is the first time i am using Qt and i am getting an error in setting up the compiler.

    The issue i am sseing is :
    :-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.

    The compiler output i am seeing is :
    15:40:30: Configuration is faulty. Check the Issues view for details.
    Error while building/deploying project roshtestqt (kit: Desktop Qt 5.7.0 clang 64bit)
    When executing step "Make"

    I am using a mac laptop. May i know under which folder the compiler is residing. Please help me to resolve this issue.

    K 1 Reply Last reply 27 Oct 2016, 16:28
    0
    • R roshKrish
      27 Oct 2016, 14:50

      This is the first time i am using Qt and i am getting an error in setting up the compiler.

      The issue i am sseing is :
      :-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options.

      The compiler output i am seeing is :
      15:40:30: Configuration is faulty. Check the Issues view for details.
      Error while building/deploying project roshtestqt (kit: Desktop Qt 5.7.0 clang 64bit)
      When executing step "Make"

      I am using a mac laptop. May i know under which folder the compiler is residing. Please help me to resolve this issue.

      K Offline
      K Offline
      koahnig
      wrote on 27 Oct 2016, 16:28 last edited by
      #2

      @roshKrish

      Do you have the compiler installed?
      I am not using mac. However, in general one has to install the proper compiler separately. For instance on windows, you have to install the correct MS VS comipler. The version has to match the version used for the precompilation of the Qt build you have installed. Because of license reasons this compiler you have to download and install separately. On windows the Qt maintenance tool does allow you to install also the MinGW compiler directly parallel to Qt libs. However, you still have to choose that you want to install the compiler.

      Therefore, check out if you have the correct compiler installed as used for the prebuild of Qt libs.

      Vote the answer(s) that helped you to solve your issue(s)

      R 1 Reply Last reply 27 Oct 2016, 16:48
      0
      • K koahnig
        27 Oct 2016, 16:28

        @roshKrish

        Do you have the compiler installed?
        I am not using mac. However, in general one has to install the proper compiler separately. For instance on windows, you have to install the correct MS VS comipler. The version has to match the version used for the precompilation of the Qt build you have installed. Because of license reasons this compiler you have to download and install separately. On windows the Qt maintenance tool does allow you to install also the MinGW compiler directly parallel to Qt libs. However, you still have to choose that you want to install the compiler.

        Therefore, check out if you have the correct compiler installed as used for the prebuild of Qt libs.

        R Offline
        R Offline
        roshKrish
        wrote on 27 Oct 2016, 16:48 last edited by
        #3

        @koahnig Any idea how to get the compiler for Mac?

        K 1 Reply Last reply 27 Oct 2016, 18:48
        0
        • R roshKrish
          27 Oct 2016, 16:48

          @koahnig Any idea how to get the compiler for Mac?

          K Offline
          K Offline
          koahnig
          wrote on 27 Oct 2016, 18:48 last edited by
          #4

          @roshKrish

          As noted above I have never worked with Mac.

          Make sure match those requirements.

          As it looks the compiler shall be already coming with the OS. Check the OS version you are using. Otherwise you may try with the apple web-page.

          I will see that someone with Mac experience sees this thread. I am of little help here.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 27 Oct 2016, 19:42 last edited by
            #5

            Hi and welcome to devnet,

            You need to install Xcode. You can get it from the Mac App Store directly.

            Note that Xcode 8 has brought in some funky changes, so for now, you might better go with 5.6.2 which already had some fixes to handle that.

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

            R 1 Reply Last reply 28 Oct 2016, 08:58
            3
            • S SGaist
              27 Oct 2016, 19:42

              Hi and welcome to devnet,

              You need to install Xcode. You can get it from the Mac App Store directly.

              Note that Xcode 8 has brought in some funky changes, so for now, you might better go with 5.6.2 which already had some fixes to handle that.

              R Offline
              R Offline
              roshKrish
              wrote on 28 Oct 2016, 08:58 last edited by roshKrish
              #6

              @SGaist I have already installed Xcode. Qt creator version is

              0_1477645098313_Screen Shot 2016-10-28 at 09.57.18.png

              I am getting this error too

              RORADHAK-M-N29S:bin roradhak$ ./xcodebuild
              xcodebuild: error: The directory /usr/bin does not contain an Xcode project.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 28 Oct 2016, 19:32 last edited by
                #7

                Did you install Xcode 8 ?

                Your other error comes from the fact that you are calling xcodebuild in the folder where it's located and not where a Xcode project can be found.

                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

                7/7

                28 Oct 2016, 19:32

                • Login

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