diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-09-24 16:12:22 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-09-25 17:15:29 +0200 |
commit | dc042c6deea7e90b4a9dfcffdc33cbe61df421bd (patch) | |
tree | 9a797f840a2e240fdd058bbaa19e7d22e5cde948 /header.MIT | |
parent | fc4a6b0b974329202c50ff0b04d5fd0aea53e6ab (diff) |
Windows: QSysInfo::prettyProductName(): Improve version formatting
For Windows 10 and higher, the SP version and major/minor versions
are not relevant any more; the release id (displayed by the winver
tool as "Version" should be displayed instead. Add helpers and
change the output accordingly.
For Windows 7, output the build number.
[ChangeLog][QtCore][Windows] QSysInfo::prettyProductName()
now returns a version including the Windows 10 release id or Windows 7
build number respectively, resembling the version string displayed by
the winver tool.
Change-Id: Ia783272a0da234d2f7ff35c4a9a6fc296da277e0
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'header.MIT')
0 files changed, 0 insertions, 0 deletions