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

Windows version is forced for mingw

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.4.0
    • Build System
    • None
    • mingw

    • Windows, WinRT

    Description

      Since QTBUG-92271 the targeted Windows version is forced to Windows 10 in mingw. It was forced to Windows 7 before that.

       

      IMO both are wrong. This is only enforced for mingw while MSVC is unaffected. And in a mingw context it makes even more sense to get the Windows version (WINVER/_WIN32_WINNT) and even Windows flavor (NTDDI_VERSION) from the environment. It should not be forced to a single value for every mingw user. Or at least it should only forced to a sensible version when the values are not set in the environment.

       

      The default value in mingw is Windows XP with Service Pack, unless you build with UCRT, in which case the default is Windows 10.

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            robux4 Steve Lhomme
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes