Qt Sensors Backend | Qt Sensors | Qt 6.10.2
Description: Describes how to use the Qt Sensors backend.

- Qt 6.10
- Qt Sensors
- Qt Sensors Backend
- Qt 6.10.2 Reference Documentation

Generic Backend ◦ Creating a sensor plugin

# Qt Sensors Backend

The Qt Sensors backend connects the Qt Sensors API to the platform services or hardware sensors.

## Overview

QSensor instances talk to a backend object. Backends are usually supplied with the Qt Sensors library for a specific device, although third-party backends may be used as well. A backend can talk directly to hardware, or it can talk to a system service. In some instances it can even talk to another sensor. An example of this is the orientation sensor backend that talks to an accelerometer to determine the device orientation.

## Backend Classes

If you are making sensors available through the Sensors API, these are the classes to use.

## Backend Topics

- Creating a sensor plugin
- Determining the default sensor for a type
- Dynamic Sensor Backend Registration

Generic Backend ◦ Creating a sensor plugin