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

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.

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 476 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.
  • K Offline
    K Offline
    kn28
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Since that project toys with QMAKE_CC, I would first try to build it from the command line.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kn28
        wrote on last edited by
        #3

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

        1. install the Qt (5.0 or higher) with OpenGl and MinGW options including the QtCreator IDE

        2. Open cmd_install.pro file in the root directory with QtCreator.exe

        3. Build full project. You can run the executable cdm.exe directly from QtCreator.

        4. 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.

        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