From fd10b40da27eb897ba2cbae1aa039b72da1abd78 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Fri, 31 Jul 2015 11:45:24 +0200 Subject: 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 Reviewed-by: Jake Petroules --- src/corelib/global/qglobal.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/corelib') diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index 2c57999ed0..b5bdcedaa1 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -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; } } -- cgit v1.2.3