From 2ef10d8473e23e5b999cf0067db4f2dad8d49419 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Mon, 7 Jul 2014 14:07:10 -0700 Subject: Doc: update the list of typical values for xxxCpuArchitecture If we wanted to make the list exhaustive for buildCpuArchitecture, we'd add alpha, avr32, bfin, s390(x), and sh. I don't want to make it exhaustive because that's cluttering the documentation and we'd have to keep in sync with archdetect.cpp. And we can't make currentCpuArchitecture exhaustive, since it depends on the output from uname(2). You can argue that neither IA-64, POWER, nor SPARC architectures are typical these days... Change-Id: I0a5310770947263e1bafd9443ea59420813c51a8 Reviewed-by: Oswald Buddenhagen Reviewed-by: Jake Petroules Reviewed-by: Richard J. Moore --- src/corelib/global/qglobal.cpp | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp index 572ee51448..a0c943df62 100644 --- a/src/corelib/global/qglobal.cpp +++ b/src/corelib/global/qglobal.cpp @@ -2154,11 +2154,16 @@ static bool readEtcOsRelease(QUnixOSVersion &v) Typical returned values are (note: list not exhaustive): \list \li "arm" + \li "arm64" \li "i386" + \li "ia64" \li "mips" - \li "x86_64" + \li "mips64" \li "power" + \li "power64" \li "sparc" + \li "sparcv9" + \li "x86_64" \endlist \sa QSysInfo::buildAbi(), QSysInfo::currentCpuArchitecture() @@ -2186,11 +2191,16 @@ QString QSysInfo::buildCpuArchitecture() Typical returned values are (note: list not exhaustive): \list \li "arm" + \li "arm64" \li "i386" + \li "ia64" \li "mips" - \li "x86_64" + \li "mips64" \li "power" + \li "power64" \li "sparc" + \li "sparcv9" + \li "x86_64" \endlist \sa QSysInfo::buildAbi(), QSysInfo::buildCpuArchitecture() -- cgit v1.2.3