do not warn about "untested" Windows versions
Remove the qWarning that was printed when running a Qt application on desktop Windows versions that Qt doesn't know about. This warning isn't helpful, it's only visible for command line applications and it can only be turned off by rebuilding the application with a newer Qt version. Removing the warning is also consistent with all other platforms - even non-Desktop Windows. Change-Id: If1cac92ce99974335319d0b9a74f1006069abd7a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Jake Petroules <jake.petroules@petroules.com>
This commit is contained in:
parent
563df05723
commit
fd10b40da2
@ -2045,8 +2045,6 @@ QSysInfo::WinVersion QSysInfo::windowsVersion()
|
||||
} else if (osver.dwMajorVersion == 10 && osver.dwMinorVersion == 0) {
|
||||
winver = QSysInfo::WV_WINDOWS10;
|
||||
} else {
|
||||
qWarning("Qt: Untested Windows version %d.%d detected!",
|
||||
int(osver.dwMajorVersion), int(osver.dwMinorVersion));
|
||||
winver = QSysInfo::WV_NT_based;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user