summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-07-07 19:28:34 -0700
committerThiago Macieira <thiago.macieira@intel.com>2014-07-30 19:43:15 +0200
commit5aacc43e64811751bae6545bfd302f4590212868 (patch)
tree15d04aaa009dd29155d6c5a1a28a08511187e9bd /tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp
parent4da120192efe79d0dd01178ae2e94e40f7d9c6cf (diff)
Rework of QSysInfo OS and kernel version functions
This patch splits the OS product from the kernel name and versions. Previously, it was a little confusing. Thus, osType is split in two: kernelType() always returns the kernel type, which includes "linux" for Android, "darwin" for iOS and OS X, "qnx" for BlackBerry, and "windows" for all the Windows OSes. The Linux distribution name and the visible product names are found in productType(), with the respective versions in productVersion(). For an update system, applications probably want to send all four tokens: - for Android, BlackBerry, iOS, OS X and Windows, the relevant information is productType and productVersion - for Linux distributions, in addition to productType and productVersion, the kernelType ("linux") is useful as a fallback and it's important for Debian/kFreeBSD and Debian/GNU - for other Unix systems, the relevant information is kernelType and kernelVersion Change-Id: I66c36d5a4ddfad47babfc6744d752273705e7076 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'tests/auto/corelib/tools/qbytearray/tst_qbytearray.cpp')
0 files changed, 0 insertions, 0 deletions