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. How to change GCC12 instead of GCC11 in QT Creator
QtWS25 Last Chance

How to change GCC12 instead of GCC11 in QT Creator

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
9 Posts 4 Posters 799 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
    RaulJN8
    wrote on last edited by
    #1

    Hi everyone, I've created a specific library and a main code in C++ language, GCC12 compiler, and minggw for design an electronic calculator. My problem comes when I pass all my codes and libraries to QT Creator and compile it, I realised that QT Creator works with GCC11, and it give me errors in the compilation.

    Could it be possible to solve this errors or change the compiler to GCC12 instead of GCC11?

    Regards!

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

      Hi and welcome to devnet,

      You can go to your Kit configuration and change the GCC version you want to use there.

      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
      1
      • SGaistS SGaist

        Hi and welcome to devnet,

        You can go to your Kit configuration and change the GCC version you want to use there.

        R Offline
        R Offline
        RaulJN8
        wrote on last edited by
        #3

        @SGaist Thank you so much for your reply!!

        Regarding my kit configuration, I guess I have to change the QT Versions and Compilers, isn't it??

        Or do I need to do something else?

        Thank you again and sorry for my doubs, I've been with qt for a short time and I get lost in some things...

        Regards!

        JonBJ 1 Reply Last reply
        0
        • R RaulJN8

          @SGaist Thank you so much for your reply!!

          Regarding my kit configuration, I guess I have to change the QT Versions and Compilers, isn't it??

          Or do I need to do something else?

          Thank you again and sorry for my doubs, I've been with qt for a short time and I get lost in some things...

          Regards!

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @RaulJN8 You do not change Qt version. You go to Kits and select the one for GCC 12 instead of 11.

          R 1 Reply Last reply
          1
          • JonBJ JonB

            @RaulJN8 You do not change Qt version. You go to Kits and select the one for GCC 12 instead of 11.

            R Offline
            R Offline
            RaulJN8
            wrote on last edited by
            #5

            @JonB Okay!

            61d136a6-3fbe-405d-8784-e22341c42589-image.png

            So here, I can't see the options to change the gcc, so I have to add the GCC12, isn't it?

            JonBJ jsulmJ 2 Replies Last reply
            0
            • R RaulJN8

              @JonB Okay!

              61d136a6-3fbe-405d-8784-e22341c42589-image.png

              So here, I can't see the options to change the gcc, so I have to add the GCC12, isn't it?

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by
              #6

              @RaulJN8 Yes, try Adding the manual path to wherever your GCC 12 is.

              R 1 Reply Last reply
              0
              • JonBJ JonB

                @RaulJN8 Yes, try Adding the manual path to wherever your GCC 12 is.

                R Offline
                R Offline
                RaulJN8
                wrote on last edited by
                #7

                @JonB Okay! When I do, I'll write again to report how it went.

                Thank you so much!!

                1 Reply Last reply
                0
                • R RaulJN8

                  @JonB Okay!

                  61d136a6-3fbe-405d-8784-e22341c42589-image.png

                  So here, I can't see the options to change the gcc, so I have to add the GCC12, isn't it?

                  jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @RaulJN8 said in How to change GCC12 instead of GCC11 in QT Creator:

                  So here, I can't see the options to change the gcc

                  Because you're showing "Debuggers" tab, not "Compilers"...

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

                  R 1 Reply Last reply
                  2
                  • jsulmJ jsulm

                    @RaulJN8 said in How to change GCC12 instead of GCC11 in QT Creator:

                    So here, I can't see the options to change the gcc

                    Because you're showing "Debuggers" tab, not "Compilers"...

                    R Offline
                    R Offline
                    RaulJN8
                    wrote on last edited by
                    #9

                    @jsulm That's true... Thank you!!

                    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