Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-19673

Autodetection of MinGW compilers is wrong and even inconsistent

    XMLWordPrintable

Details

    Description

      1. Do not have MinGW in your PATH variable.
      2. Install MinGW 5.3.0 as well as a Qt built for it using Qt's online installer.
      3. Start Creator with empty settings, e.g. by passing the parameter -settingspath <empty directory>.
      4. In "Tools" -> "Options..." -> "Build & Run" -> "Qt Versions", add the Qt version you installed in step 2.
        Creator will complain that there is no compiler for this Qt version.
      5. On the compiler tab, add gcc and g++ from the MinGW you installed in step 2.
        Their ABIs are detected as x86-windows-msvc2015-pe-64bit, which is totally wrong.
      6. Click "Apply" and go back to the "Qt Versions" tab.
        The warning about missing compilers is gone.
      7. Add a kit using the now configured compilers and Qt version.
        You'll see a warning that the compilers do not match the Qt version. The truth there is that the Qt version does not match the detected ABI whereas the compilers themselves are matching.

      Instead:

      1. The ABI of MinGW compilers should be detected correctly.
      2. The warnings about non-matching compilers should be consistent on the "Kits" and "Qt Versions" tabs.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-19673
        # Subject Branch Project Status CR V

        Activity

          People

            davschul David Schulz
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes