Qt Device Utilities 5.12.3

Qt Device Utilities provides functionality that is useful for controlling settings in embedded applications. The functionality in Qt Device Utilities is divided into the following C++ modules:

QtBluetoothSettings

Provides functionality for controlling Bluetooth settings

QtDisplaySettings

Provides access to display settings

QtLocalDeviceSettings

Provides functionality for controlling a local device settings

QtLocaleSettings

Provides functionality for controlling locale settings

QtNetworkSettings

Provides functionality for controlling network settings

QtTimeDateSettings

Provides functionality for controlling time and date settings

Qt Device Utilities provides the following QML modules:

QtDeviceUtilities.BluetoothSettings

Provides a singleton QML type for controlling bluetooth settings

QtDeviceUtilities.DisplaySettings

Provides a singleton QML type for controlling display settings

QtDeviceUtilities.LocalDeviceSettings

Provides a collection of local device related utility functions

QtDeviceUtilities.LocaleSettings

Provides singleton QML types for controlling locale settings

QtDeviceUtilities.NetworkSettings

Provides singleton QML types for controlling network settings

QtDeviceUtilities.TimeDateSettings

Provides singleton QML types for controlling date and time settings

QtDeviceUtilities.SettingsUI

Provides a system-wide settings UI

Getting Started

To include the definitions of the module's classes, use the following directives:

#include <QtBluetoothSettings>
#include <QtDisplaySettings>
#include <QtLocalDevice>
#include <QtLocaleSettings>
#include <QtNetworkSettings>
#include <QtTimeDateSettings>

To link against the modules, add this line to your qmake .pro file:

QT += bluetoothsettings displaysettings localdevice localesettings networksettings timedatesettings

To import the QML types into your application, use the following import statements in your .qml file:

import QtDeviceUtilities.BluetoothSettings 1.0
import QtDeviceUtilities.DisplaySettings 1.0
import QtDeviceUtilities.LocalDeviceSettings 1.0
import QtDeviceUtilities.LocaleSettings 1.0
import QtDeviceUtilities.NetworkSettings 1.0
import QtDeviceUtilities.SettingsUI 1.0
import QtDeviceUtilities.TimeDateSettings 1.0

Examples

Reference

© 2019 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.