Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. MinGW versions
Forum Update on Monday, May 27th 2025

MinGW versions

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
mingw64mingw32mingw versionmingw macro
3 Posts 2 Posters 1.4k Views
  • 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
    koahnig
    wrote on 31 Oct 2018, 11:47 last edited by
    #1

    I have recently installed the 64 bit MinGW compiler through online installer which is announced as 7.3.0. A year ago I have done Qt lib compilation based on what 7.2.0. So this seems to match.

    Recently I started to use Qt12.0 which will be pre-built based on MinGW 7.3.0 compiler. It seems to be sensible to have some version control with executables. Therefore google indicated some page where macros for different computers and environment can be found.

    At the moment following is used:

        ostr << "With MinGW " << __MINGW64_VERSION_MAJOR << "." << __MINGW64_VERSION_MINOR << "." << __MINGW64_VERSION_BUGFIX << endl;
    

    surprisingly the version indicated by the macros is 6.0.0 and not the 7.3.0 as used throughout installation and also indication in Qt creator. The number is not simply a house number, but can be found also here for most recent release.

    Similar it is for 32 bit MinGW which report per macro 3.11 but the Qt reporting in online installer and Qt creator is 5.3.0.

    Is there anybody able to shed some light onto this mysteries?

    Vote the answer(s) that helped you to solve your issue(s)

    R 1 Reply Last reply 31 Oct 2018, 13:13
    0
    • K koahnig
      31 Oct 2018, 11:47

      I have recently installed the 64 bit MinGW compiler through online installer which is announced as 7.3.0. A year ago I have done Qt lib compilation based on what 7.2.0. So this seems to match.

      Recently I started to use Qt12.0 which will be pre-built based on MinGW 7.3.0 compiler. It seems to be sensible to have some version control with executables. Therefore google indicated some page where macros for different computers and environment can be found.

      At the moment following is used:

          ostr << "With MinGW " << __MINGW64_VERSION_MAJOR << "." << __MINGW64_VERSION_MINOR << "." << __MINGW64_VERSION_BUGFIX << endl;
      

      surprisingly the version indicated by the macros is 6.0.0 and not the 7.3.0 as used throughout installation and also indication in Qt creator. The number is not simply a house number, but can be found also here for most recent release.

      Similar it is for 32 bit MinGW which report per macro 3.11 but the Qt reporting in online installer and Qt creator is 5.3.0.

      Is there anybody able to shed some light onto this mysteries?

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 31 Oct 2018, 13:13 last edited by
      #2

      @koahnig
      i am just guessing here, but it might be that the 6.0.0 is the corresponding gcc version, whereas 7.3.0 is the release version of mingw?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      K 1 Reply Last reply 31 Oct 2018, 15:10
      0
      • R raven-worx
        31 Oct 2018, 13:13

        @koahnig
        i am just guessing here, but it might be that the 6.0.0 is the corresponding gcc version, whereas 7.3.0 is the release version of mingw?

        K Offline
        K Offline
        koahnig
        wrote on 31 Oct 2018, 15:10 last edited by
        #3

        @raven-worx

        Thanks for reply.

        Certainly this is a possible explanation, but that would make the actual code behind it rather old. Or the whole timeline discussion does make sense with those compilers.

        Also the macro states MINGW_VERSION and not GCC_VERSION.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0

        2/3

        31 Oct 2018, 13:13

        • Login

        • Login or register to search.
        2 out of 3
        • First post
          2/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved