Unsolved How to tell Qt which compiler to use
-
It looks like it's still installing the MSVC version of Qt. Do you know how to tell it not to?
-
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?
-
Hi,
at the moment no.
If you need 64bit version you have to build from sources -
@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.
-
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).
-
@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?
-
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)?
-
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?
-
@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 -
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.