Unsolved warning: "gfortran.exe" is used by qmake, but "gcc.exe" is configured in the kit. Please update your kit (Desktop Qt 5.15.1 MinGW 64-bit) or choose a mkspec for qmake that matches your target environment better.
-
I have installed Qt creator 4.13.0 (based on Qt 5.15.0 (MSVC 2019, 64 bit)) on Windows 10 to build and install this code: GitHub/pchaumet/IF-DDA
While building this, I got this message under Issues column:
:-1: warning: "G:\Qt\Tools\mingw810_64\bin\gfortran.exe" is used by qmake, but "G:\Qt\Tools\mingw810_64\bin\gcc.exe" is configured in the kit.
Please update your kit (Desktop Qt 5.15.1 MinGW 64-bit) or choose a mkspec for qmake that matches your target environment better.I am completely new to this forum, and I know almost nothing about this. Seeking help. What should I do?
-
Hi and welcome to devnet,
Since that project toys with QMAKE_CC, I would first try to build it from the command line.
-
@SGaist said in warning: "gfortran.exe" is used by qmake, but "gcc.exe" is configured in the kit. Please update your kit (Desktop Qt 5.15.1 MinGW 64-bit) or choose a mkspec for qmake that matches your target environment better.:
Since that project toys with QMAKE_CC, I would first try to build it from the command line.
I don't know how to do it. I was trying to build according to these instructions:
Windows installation:
The application is based on Qt and MinGW and OpenGL
To build and install it, you need to:
-
install the Qt (5.0 or higher) with OpenGl and MinGW options including the QtCreator IDE
-
Open cmd_install.pro file in the root directory with QtCreator.exe
-
Build full project. You can run the executable cdm.exe directly from QtCreator.
-
To run the application in stand-alone, you need to deploy it along with a few runtime libraries.
For example if you built with Qt 5.3 (OpenGL included) and MinGW-4.8.2 option,
the list of dll (in the Qt and MinGW-4.8.2 lib subdirectories)
that have to be present in the same directory as cdm.exe:
icudt52.dll
icuin52.dll
icuuc52.dll
libgcc_s_dw2-1.dll
libgfortran-3.dll
libquadmath-0.dll
libstdc++-6.dll
libwinpthread-1.dll
Qt5Core.dll
Qt5Gui.dll
Qt5OpenGL.dll
Qt5PrintSupport.dll
Qt5Sql.dll
Qt5Svg.dll
Qt5Widgets.dll
Thank you.
-