Qt System Info Module

The Qt System Info module provides a set of APIs to discover system related information and capabilities, including the batteries being used, activated locks, different hardware features, network, screen saver, and storage, etc.

Buildtime configuration

Qt SystemInfo for Linux can use a number of technololgies based on dbus. These can be configured at build time through the CONFIG of qmake.

* CONFIG+=upower (linux) will build the UPower dbus backend. * CONFIG+=ofono (linux) will build the Ofono dbus backend. * CONFIG+=udisk (linux) will build the Udisk dbus backend. * CONFIG+=nox11option (linux) Turns off the use of x11 in QScreenSaver (and screen blanking disabling and enabling will not work)

C++ Classes

QBatteryInfo

Various information about the batteries

QDeviceInfo

Various information of the system

QInputDevice

Various information about one input device

QNetworkInfo

Various information about the network status

QScreenSaver

Various information about the screen saver

QML Elements

DeviceInfo

Element provides various information about the device

DisplayInfo

Element provides information about the display of the device

NetworkInfo

Element provides various information about the network status

ScreenSaver

Element provides information about the screen saver

Examples