QtSensors: Fix and simplify the Grue example


Refactoring to use QML cpp class registration instead of a QML plugin.

Pick-to: 6.2
Task-number: QTBUG-92514
Change-Id: I7637232d27575522e83ebdbc5c60cdb5663d2cd0
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
commita063b9f61ddea7403d36a5288ff6f8dc0d95ddfb
parent63fe6819c79c835adf652f8dd99fda54f6d35cdc
authorTamas Martinec <tamas.martinec@symbio.com>
committerAlexandru Croitor <alexandru.croitor@qt.io>
commit timeWed, 18 Aug 2021 15:15:02 +0200