Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to tell Qt which compiler to use
Qt 6.11 is out! See what's new in the release blog

How to tell Qt which compiler to use

Scheduled Pinned Locked Moved Unsolved General and Desktop
15 Posts 4 Posters 5.2k Views 1 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.
  • M mcosta

    Hi and welcome to devnet,

    which version did you installed?? Online/Offline installer?

    P Offline
    P Offline
    pi_in_the_sky
    wrote on last edited by
    #3

    @mcosta Hi, thank you for the welcome.

    I have installed:
    Qt Creator 3.5.1
    Based on Qt 5.5.1 (MSVC 2013, 32 bit)
    I installed it using qt-unified-windows-x86-2.0.2-2-online.exe

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on last edited by
      #4

      @pi_in_the_sky said:

      Based on Qt 5.5.1 (MSVC 2013, 32 bit)

      if you're using the MSVC version of Qt you need to install MS Visual Studio

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      P 1 Reply Last reply
      0
      • M mcosta

        @pi_in_the_sky said:

        Based on Qt 5.5.1 (MSVC 2013, 32 bit)

        if you're using the MSVC version of Qt you need to install MS Visual Studio

        P Offline
        P Offline
        pi_in_the_sky
        wrote on last edited by
        #5

        @mcosta oh, ok! thanks for the tip. I was wondering what MSVC was :) OK, guess I''l try again from a new download...I didn't intend to use MSVC. I just want to use Qt/minGW.

        Maybe I need to tell the Qt installer to ignore anything MSVC. There must be something lying around my computer making it think I use MSVC (I don't). I'll try uninstalling and then re-installed Qt unless you have a better suggestion.

        thank you!!!

        1 Reply Last reply
        0
        • P Offline
          P Offline
          pi_in_the_sky
          wrote on last edited by
          #6

          It looks like it's still installing the MSVC version of Qt. Do you know how to tell it not to?

          1 Reply Last reply
          0
          • P Offline
            P Offline
            pi_in_the_sky
            wrote on last edited by
            #7

            On the Qt downloads page I found
            Qt 5.5.1 for Windows 32-bit (MinGW 4.9.2, 1.0 GB) (info)

            Is there one for Windows 64-bit?

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mcosta
              wrote on last edited by
              #8

              Hi,

              at the moment no.
              If you need 64bit version you have to build from sources

              Once your problem is solved don't forget to:

              • Mark the thread as SOLVED using the Topic Tool menu
              • Vote up the answer(s) that helped you to solve the issue

              You can embed images using (http://imgur.com/) or (http://postimage.org/)

              P 1 Reply Last reply
              0
              • M mcosta

                Hi,

                at the moment no.
                If you need 64bit version you have to build from sources

                P Offline
                P Offline
                pi_in_the_sky
                wrote on last edited by
                #9

                @mcosta How strange. I thought I had installed Qt on my machine a couple months ago and it worked fine. I don't remember building it but maybe I did. Anyway it works fine on my Raspberry Pi but I wish I could run it on my PC too.

                1 Reply Last reply
                0
                • jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #10

                  Do you really need a 64bit Qt version? If not just install MinGW 32bit version (in online installer you can select what you want to install).

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

                  P 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    Do you really need a 64bit Qt version? If not just install MinGW 32bit version (in online installer you can select what you want to install).

                    P Offline
                    P Offline
                    pi_in_the_sky
                    wrote on last edited by
                    #11

                    @jsulm I don't understand how to do that. I'm running windows 7 Intel core i3 which I think is a 64-bit machine. Don't I need a 64-bit version of Qt?

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      pi_in_the_sky
                      wrote on last edited by
                      #12

                      I installed Qt usng qt-unified-windows-x86-2.0.2-2-online.exe

                      But this installed Qt configured as MSVC. But I want Qt configured for mingGW.

                      Is there a version of Qt online configured for mingGW? Or is there a way I can tell Qt that I want to use mingGW (already installed on my machine)?

                      1 Reply Last reply
                      0
                      • P Offline
                        P Offline
                        pi_in_the_sky
                        wrote on last edited by
                        #13

                        By the way, on my Raspberry pi (running linux) I simply selected Options->Build&Run->Tool Chains to point Qt to minGW. Is there something similar to this for Windows7?

                        RatzzR 1 Reply Last reply
                        0
                        • P pi_in_the_sky

                          By the way, on my Raspberry pi (running linux) I simply selected Options->Build&Run->Tool Chains to point Qt to minGW. Is there something similar to this for Windows7?

                          RatzzR Offline
                          RatzzR Offline
                          Ratzz
                          wrote on last edited by
                          #14

                          @pi_in_the_sky
                          In windows 7 , It is a similar way Tools->options->build and run . Check for kits tab and you can point to MinGW

                          --Alles ist gut.

                          1 Reply Last reply
                          0
                          • jsulmJ Offline
                            jsulmJ Offline
                            jsulm
                            Lifetime Qt Champion
                            wrote on last edited by
                            #15

                            Windows x86_64 can run 32bit applications without any problems. In fact there is lots of 32bit software out there (like Firefox for example). In the online installer you can select Qt for MinGW and MinGW itself, just check the options the installer provides. Actually, the online installer suggests to install MinGW Qt by default, but check under Qt/Tools that the latest MinGW version is selected. The installer by default installs QtCreator as well. After installation QtCreator should auto-detect Qt and MinGW, if not configure a kit.

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

                            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