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. [SOLVED] Can't use MINGW that comes with Qt installation
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Can't use MINGW that comes with Qt installation

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.3k 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.
  • C Offline
    C Offline
    Clint Westwood
    wrote on last edited by Clint Westwood
    #1

    At first I haven't chosen to install MINGW with Qt. Later I've tried to add it through Qt Maintance tool. It didn't work, so I've just completely reinstalled Qt but that did not help either.

    I can see that it's automatically detected in compilers tab. However, as far as I understand I need a kit to configure my project for a certain compiler. I have kits only for MSVC 2010 and 2012 which were automatically found. I've tried to manually create a kit for MINGW, but for that I needed to set a some sort of profile. Out of available profiles again I could choose only MSVC which obviously doesn't work with MINGW.

    What should be done? Do I have to additionally install anything? All I have is Visual studio 2010, 2012, Qt with latest mingw that was in installer.

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qtNiko
      wrote on last edited by
      #2

      hi,
      I am using Qt Creator with MinGW.
      For the installation I downloaded the version with MinGW.
      The kit is named 'Desktop Qt 5.3 MinGW 32bit'. I guess, this was set automatically after installation. To set it manually please try the following steps.

      I have a German installation so I try to translate the steps:
      Menue 'Extras' / 'Qt Erstellung und Ausführung' (Qt build and execute) / tab 'Kits'. When you click the Button 'Hinzufügen' (Add) you can select MinGW or Microsoft Visual C++. You can also select a debugger and the Qt version.

      It is essential that you installed the MinGW version of Qt Creator.

      Goog luck

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Clint Westwood
        wrote on last edited by
        #3

        I've fixed it. Turned out I had to choose one more option in Qt Maintance tool: under Qt 5.4 checkbox there is this option: Qt 5.4..1 Prebuilt Components for MinGW. Before that I've only installed MinGW toolchain under Tools checkbox.

        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