diff options
author | Katja Marttila <katja.marttila@qt.io> | 2023-11-14 13:14:03 +0200 |
---|---|---|
committer | Katja Marttila <katja.marttila@qt.io> | 2023-11-22 10:22:41 +0200 |
commit | a771d88f321ecf2d3f2d97aaf0e3b4fc45e55f0a (patch) | |
tree | 8c9b1924fd670548ded65abc3f511efa1ae0cd27 /doc/systeminfo.qdoc | |
parent | e14e9f072fb1d269c6be22ef98678ec589aeda0c (diff) |
Add buildCpuArchitecture() to systemInfo
To access buildCpuArchitecture from script
Task-number: QTIFW-3224
Change-Id: I02086f7d3e064fe53d6fa9322b8832110c40c6b1
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Diffstat (limited to 'doc/systeminfo.qdoc')
-rw-r--r-- | doc/systeminfo.qdoc | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/doc/systeminfo.qdoc b/doc/systeminfo.qdoc index 1f260abdb..fd32b06b8 100644 --- a/doc/systeminfo.qdoc +++ b/doc/systeminfo.qdoc @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2022 The Qt Company Ltd. +** Copyright (C) 2023 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the Qt Installer Framework. @@ -52,6 +52,25 @@ */ /*! + \qmlproperty string systemInfo::buildCpuArchitecture + + The architecture of the CPU that the application was compiled for, in text format. + + Possible values include: + \list + \li "i386" + \li "x86_64" + \li "arm64" + \endlist + + Note that this may not match the actual CPU that the application is running on if + there's an emulation layer or if the CPU supports multiple architectures (like x86-64 + processors supporting i386 applications). To detect that, use \c installer.currentCpuArchitecture() + + \sa QSysInfo::buildCpuArchitecture() \sa currentCpuArchitecture() +*/ + +/*! \qmlproperty string systemInfo::kernelType The type of the operating system kernel the installer was compiled for. It is also the |