I keep having trouble with my compiler on windows - no problem on linux
-
all of a sudden when I try to compile my compiler just freezes and appears to just run qmake over and over:
C:\Qt\6.3.0\mingw_64\bin\qmake.exe -o Makefile ..\Fennec\Fennec.pro -spec win32-g++ "CONFIG+=qtquickcompiler"
C:\Qt\6.3.0\mingw_64\bin\qmake.exe -o Makefile ..\Fennec\Fennec.pro -spec win32-g++ "CONFIG+=qtquickcompiler"
C:\Qt\6.3.0\mingw_64\bin\qmake.exe -o Makefile ..\Fennec\Fennec.pro -spec win32-g++ "CONFIG+=qtquickcompiler"
C:\Qt\6.3.0\mingw_64\bin\qmake.exe -o Makefile ..\Fennec\Fennec.pro -spec win32-g++ "CONFIG+=qtquickcompiler"what would cause that?
This keeps happening to me on this machine, and I don't know how to deal with it.
I have this warning:
:-1: warning: "C:\Qt\Tools\mingw1120_64\bin\x86_64-w64-mingw32-gcc.exe" is used by qmake, but "C:\Qt\Tools\mingw1120_64\bin\gcc.exe" is configured in the kit.
Please update your kit (Desktop Qt 6.3.0 MinGW 64-bit) or choose a mkspec for qmake that matches your target environment better.and this one:
:-1: warning: "C:\Qt\Tools\mingw1120_64\bin\x86_64-w64-mingw32-g++.exe" is used by qmake, but "C:\Qt\Tools\mingw1120_64\bin\g++.exe" is configured in the kit.
Please update your kit (Desktop Qt 6.3.0 MinGW 64-bit) or choose a mkspec for qmake that matches your target environment better.but I don't see a way to change it in the kit manager
-
Your mkspec (-spec win32-g++) requires the sources to be compiled with mingw32-g++.exe.
In Qt Creator, go to Tools->Options, "Kits" and choose the kit you are using to compile your project.
In the middle of the lower window you will see the "compiler" section where you can select the compilers for C and C++
Make sure it points to C:\Qt\Tools\mingw1120_64\bin\x86_64-w64-mingw32-g++.exeThat will at least solve the warning and ensure the right compiler being used.
If the freeze / infinitive loop do not disappear magically, just reply to this post.