Qt Device Utilities 5.15.17

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:

Qt Bluetooth Settings C++ Classes

Provides functionality for controlling Bluetooth settings.

Qt Display Settings C++ Classes

Provides access to display settings.

Qt Locale Settings C++ Classes

Provides functionality for controlling locale settings.

Qt Network Settings C++ Classes

Provides functionality for controlling network settings.

Qt Time and Date Settings C++ Classes

Provides functionality for controlling time and date settings.

QtLocalDeviceSettings C++ Classes

Provides functionality for controlling a local device settings.

Qt Device Utilities provides the following QML modules:

Qt Bluetooth Settings QML Types

Provides a singleton QML type for controlling bluetooth settings.

Qt Device Utilities: Settings UI

Provides a system-wide settings UI.

Qt Display Settings QML Types

Provides a singleton QML type for controlling display settings.

Qt Local Device Settings QML Types

Provides a collection of local device related utility functions.

Qt Locale Settings QML Types

Provides singleton QML types for controlling locale settings.

Qt Network Settings QML Types

Provides singleton QML types for controlling network settings.

Qt Time and Date Settings QML Types

Provides singleton QML types for controlling date and time settings.

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

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