Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    Tools
    4
    11
    1295
    Loading More Posts
    • 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.
    • dheerendra
      dheerendra Qt Champions 2022 last edited by

      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

      jsulm 1 Reply Last reply Reply Quote 5
      • jsulm
        jsulm Lifetime Qt Champion @dheerendra last edited by

        @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 Reply Quote 0
        • dheerendra
          dheerendra Qt Champions 2022 last edited by dheerendra

          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 Reply Quote 4
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • Artmetic
              Artmetic last edited by

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

              1 Reply Last reply Reply Quote 0
              • dheerendra
                dheerendra Qt Champions 2022 last edited by

                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 Reply Quote 4
                • SGaist
                  SGaist Lifetime Qt Champion last edited by

                  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 Reply Quote 0
                  • dheerendra
                    dheerendra Qt Champions 2022 last edited by

                    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 Reply Quote 5
                    • SGaist
                      SGaist Lifetime Qt Champion last edited by

                      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 Reply Quote 0
                      • dheerendra
                        dheerendra Qt Champions 2022 last edited by

                        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 Reply Quote 4
                        • SGaist
                          SGaist Lifetime Qt Champion last edited by

                          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 Reply Quote 0
                          • First post
                            Last post