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

QSysInfo::productVersion() and QSysInfo::prettyProductName() return incorrect values on Windows 11

    XMLWordPrintable

Details

    • Windows

    Description

      QSysInfo::productVersion() and QSysInfo::prettyProductName() return incorrect product version values on Windows 11.

      With Qt 5.15.7 the output is the following:
      "10"
      "Windows 10 Version 2009"

      With Qt 6.2.2:
      "11"
      "Windows 11 Version 2009"

      Even though the OS isĀ released after the Qt version, I believe there should be for example someĀ "Unknown higher version" enum value so future releases would be covered. Ideally product version should be right regardless when it is released.

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            foxxx Tuukka Kettunen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes