Em qua 14 maio 2014, às 13:36:30, Thiago Macieira escreveu:
> QSysInfo::osVersion() will return "Windows 8" but
> QSysInfo::osKernelRelease()  will return "6.2.9200".

BTW, on Linux:

$ qtdiag | head -2
Qt 5.3.1 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 4.8.1 
20130909 [gcc-4_8-branch revision 202388]) on "xcb" 
OS: Linux (openSUSE 13.1 (Bottle) (x86_64)) [kernel version 3.11.10-7-desktop]

from:
        << "OS: " << QSysInfo::prettyOsName()
              << " [kernel version " << QSysInfo::osKernelVersion() << "]\n";

The osVersion() on my machine is "openSUSE_13.1". That's not orderable, 
because other entries might be "Fedora_20" and "unknown".

Windows:
Qt 5.3.1 (x86_64-little_endian-llp64 shared (dynamic) release build; by MSVC 
2013) on "windows"
OS: Windows 8 [kernel version 6.2.9200]

Mac:
Qt 5.3.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by Clang 
5.1 (clang-503.0.40) (Apple)) on "cocoa" 
OS: OS X Mavericks (10.9) [kernel version 13.1.0]

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to