Qt Sensors - Grue Sensor Example

The Qt Sensors - Grue sensor example demonstrates all the steps from creating a new sensor to using it.

The sensor definition is placed in a library where client apps can access it. The actual implementation lives in a plugin.

The sensor can now be used by a C++ application, even if the application does not have access to the definition.

To make the sensor available to a QML application an import must be created.