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. MAC-Qt 5.7.0 does not work in Qt Creator after Qt 5.8 installation
Forum Updated to NodeBB v4.3 + New Features

MAC-Qt 5.7.0 does not work in Qt Creator after Qt 5.8 installation

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
11 Posts 4 Posters 1.8k Views 3 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.
  • D Offline
    D Offline
    dheerendra
    Qt Champions 2022
    wrote on 7 Feb 2017, 03:34 last edited by
    #1

    Hi

    I have Qt 5.7.0 installation on Mac with Qt Creator 4.0.2. It was working fine. Now I installed Qt 5.8. After this 5.8 installation I'm not able to use the Qt 5.7.0 from Qt Creator. However I'm able to run qmake from Qt5.7.0 command line and able to compile and run the program.

    Issues are

    1. In Qt creator 4.0.2 Qt 5.7.0 kit always shows the red mark. It does not give any option to change the compiler. It is always disabled.
    2. I tried to my own kit in Qt Creator 4.0.2 with Qt 5.7.0. Even If I select the right compiler it says "Compiler cannot product the code for Qt5.7.0

    So Qt Creator 4.0.2 I left.

    1. Qt Creator 4.2.1. Qt 5.8.x work perfectly
    2. I tried to configure the Qt 5.7.0 kit. It shows kit is fine.
    3. When I create the project in Qt 5.7.0 and run it, it gives the error while compiling.
      It says Qt C++11 support is required. I added the configuration as well. Still gives error

    Any idea on this ?

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

    J 1 Reply Last reply 7 Feb 2017, 05:51
    5
    • D dheerendra
      7 Feb 2017, 03:34

      Hi

      I have Qt 5.7.0 installation on Mac with Qt Creator 4.0.2. It was working fine. Now I installed Qt 5.8. After this 5.8 installation I'm not able to use the Qt 5.7.0 from Qt Creator. However I'm able to run qmake from Qt5.7.0 command line and able to compile and run the program.

      Issues are

      1. In Qt creator 4.0.2 Qt 5.7.0 kit always shows the red mark. It does not give any option to change the compiler. It is always disabled.
      2. I tried to my own kit in Qt Creator 4.0.2 with Qt 5.7.0. Even If I select the right compiler it says "Compiler cannot product the code for Qt5.7.0

      So Qt Creator 4.0.2 I left.

      1. Qt Creator 4.2.1. Qt 5.8.x work perfectly
      2. I tried to configure the Qt 5.7.0 kit. It shows kit is fine.
      3. When I create the project in Qt 5.7.0 and run it, it gives the error while compiling.
        It says Qt C++11 support is required. I added the configuration as well. Still gives error

      Any idea on this ?

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 7 Feb 2017, 05:51 last edited by
      #2

      @dheerendra Is the compiler in your Qt 5.7.0 kit the same as in 5.8? Did you update XCode?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dheerendra
        Qt Champions 2022
        wrote on 7 Feb 2017, 06:11 last edited by dheerendra 2 Jul 2017, 06:12
        #3

        I have not done any update to xCode. Also compiler is same for Qt 5.7 and 5.8. As I said Qt 5.7.0 works perfectly from command line. From Qt Creator it does not work.

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

        1 Reply Last reply
        4
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 7 Feb 2017, 21:13 last edited by
          #4

          Hi,

          What version of Xcode are you using ?

          What is the mkspec that is set in your kit ?

          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
          • A Offline
            A Offline
            Artmetic
            wrote on 7 Feb 2017, 22:40 last edited by
            #5

            maybe define this in tools -> options -> Build&Run or try to run QtCreator from terminal in Tools and Mac folder.

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dheerendra
              Qt Champions 2022
              wrote on 8 Feb 2017, 03:25 last edited by
              #6

              Xcode is 8.2.1. Also compiler option is disabled in when I see in build & run.

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

              1 Reply Last reply
              4
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 8 Feb 2017, 21:22 last edited by
                #7

                What mkspec is selected ?

                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
                • D Offline
                  D Offline
                  dheerendra
                  Qt Champions 2022
                  wrote on 10 Feb 2017, 02:23 last edited by
                  #8

                  mkspec is blank. Not able to select the compiler. It is disabled.

                  0_1486693370881_Screen Shot 2017-02-10 at 7.52.19 AM.png

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

                  1 Reply Last reply
                  5
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 10 Feb 2017, 21:38 last edited by
                    #9

                    What information do you get if you however the red mark ?

                    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
                    • D Offline
                      D Offline
                      dheerendra
                      Qt Champions 2022
                      wrote on 11 Feb 2017, 04:43 last edited by
                      #10

                      It says no compiler set when hover the red mark. However compiler option is disabled to set it.

                      ![alt text](0_1486788191124_Screen Shot 2017-02-11 at 10.12.17 AM.png image url)

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

                      1 Reply Last reply
                      4
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 11 Feb 2017, 09:02 last edited by
                        #11

                        The image upload is currently broken, I can't see the image.

                        Do you have anything in the Compilers panel in Build and Run ?

                        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

                        2/11

                        7 Feb 2017, 05:51

                        9 unread
                        • Login

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