- Qt 5.15
- Qt Sensors
- QML Types
- DistanceSensor QML Type
- Qt 5.15.16 Reference Documentation

# DistanceSensor QML Type

The DistanceSensor element reports the distance in cm from an object to the device. More...

Import Statement: | import QtSensors 5.15
Since: | QtSensors 5.4
Inherits: | Sensor

- List of all members, including inherited members

## Detailed Description

The DistanceSensor element reports the distance in cm from an object to the device.

This element wraps the QDistanceSensor class. Please see the documentation for QDistanceSensor for details.

See also DistanceReading.