SystemInformation QML Type

시스템에 대한 정보를 제공합니다. 자세히...

Import Statement: import QtCore
Since: Qt 6.4
Inherits:

QtObject

상세 설명

SystemInformation 싱글톤 유형은 QSysInfo 의 각 함수를 속성으로 사용할 수 있는 QSysInfo 과 유사한 API를 사용하여 시스템에 대한 정보를 제공합니다:

if (SystemInformation.wordSize === 64) {
    console.log("64 bit")
} else {
    console.log("32 bit")
}

if (SystemInformation.byteOrder === SystemInformation.Little) {
    console.log("Little endian")
} else {
    console.log("Big endian")
}

console.log("Currently running on " + SystemInformation.prettyProductName)

QSysInfo도 참조하세요 .

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.