Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-129628

Building Qt6 from Git for Windows fails when following the available documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 6.8.0, 6.9.0 FF
    • 6.8.0
    • Documentation
    • None
    • Windows
    • 75f8daddb (dev), 4e7b26ee1 (6.8), 40656665d (dev), 3ad54113e (6.8)
    • DaVinci 105

    Description

      If a developer tries to do a 6.8.x/dev Windows build following https://wiki.qt.io/Building_Qt_6_from_Git and installs the recommended MinGW 11.2, there will be a build error: https://bugreports.qt.io/browse/QTBUG-127989.

      The solution appears to be installation of MinGW 13.1.0. 

      A download link to correct MinGW version should be added to https://wiki.qt.io/Building_Qt_6_from_Git.

      In addition to the wiki, https://doc.qt.io/qt-6/windows-building.html also needs to be updated. 

      Personally, I solved the problem by using x86_64-13.1.0-release-posix-seh-ucrt-rt_v11-rev1.7z from https://github.com/niXman/mingw-builds-binaries/releases, but we should probably recommend the exact same version that the Qt Online Installer installs.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            paulwicking Paul Wicking
            jannej Janne Juntunen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes