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
Forum Updated to NodeBB v4.3 + New Features

How to change GCC12 instead of GCC11 in QT Creator

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
9 Posts 4 Posters 833 Views 2 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.
  • R Offline
    R Offline
    RaulJN8
    wrote on 21 Jul 2023, 19:15 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 21 Jul 2023, 19:17 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 22 Jul 2023, 09:22
      1
      • S SGaist
        21 Jul 2023, 19:17

        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 22 Jul 2023, 09:22 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!

        J 1 Reply Last reply 22 Jul 2023, 09:25
        0
        • R RaulJN8
          22 Jul 2023, 09:22

          @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!

          J Offline
          J Offline
          JonB
          wrote on 22 Jul 2023, 09:25 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 22 Jul 2023, 10:01
          1
          • J JonB
            22 Jul 2023, 09:25

            @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 22 Jul 2023, 10:01 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?

            J J 2 Replies Last reply 22 Jul 2023, 10:32
            0
            • R RaulJN8
              22 Jul 2023, 10:01

              @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?

              J Offline
              J Offline
              JonB
              wrote on 22 Jul 2023, 10:32 last edited by
              #6

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

              R 1 Reply Last reply 22 Jul 2023, 10:38
              0
              • J JonB
                22 Jul 2023, 10:32

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

                R Offline
                R Offline
                RaulJN8
                wrote on 22 Jul 2023, 10:38 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
                  22 Jul 2023, 10:01

                  @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?

                  J Offline
                  J Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on 24 Jul 2023, 05:28 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 24 Jul 2023, 08:42
                  2
                  • J jsulm
                    24 Jul 2023, 05:28

                    @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 24 Jul 2023, 08:42 last edited by
                    #9

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

                    1 Reply Last reply
                    0

                    3/9

                    22 Jul 2023, 09:22

                    topic:navigator.unread, 6
                    • Login

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