AalSensorPlugin QtSensors plugin loading is broken with Qt 5.0.2 deployment

Bug #1178401 reported by Jim Hodapp on 2013-05-09
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
Critical
Timo Jyrinki
touch-preview-images
Fix Released
Critical
Timo Jyrinki
qtsensors-opensource-src (Ubuntu)
Undecided
Unassigned

Bug Description

AalSensorPlugin QtSensors plugin loading is broken with Qt 5.0.2 deployment. When loading an app, such as the media-player, which uses the orientation sensor, you should be able to see the following debug output: "Registered the AalSensorPlugin types" which signals that the QtSensors plugin for the Ubuntu Touch platform has been loaded. This is currently broken. Another easy way to test the sensors is to use the simple QML app attached to this bug report. Run it via "qmlscene qtsensors.qml"

Instead, I see the following output which indicates that it's using the dummy plugin instead which injects a constant acceleration value:

__pthread_gettid -2

loaded the dummy plugin
loaded the Linux plugin
Component finished loading.
*** Screen Orientation: PrimaryOrientation
X: 0
Y: 9.800000190734863
Z: 0
X: 0
Y: 9.800000190734863
Z: 0
X: 0
Y: 9.800000190734863
Z: 0

Related branches

Jim Hodapp (jhodapp) wrote :
Timo Jyrinki (timo-jyrinki) wrote :

It turned out upstream had renamed all of com.nokia -> com.qt-project recently. After updating the Q_PLUGIN_METADATA, the plugin started to get loaded again. Merge proposal linked.

Changed in qtsensors-opensource-src (Ubuntu):
status: New → Invalid
no longer affects: qtubuntu-sensors
Changed in ubuntu-ui-toolkit:
status: New → In Progress
Changed in touch-preview-images:
assignee: nobody → Timo Jyrinki (timo-jyrinki)
importance: Undecided → Critical
status: New → Fix Committed
Changed in ubuntu-ui-toolkit:
status: In Progress → Fix Committed
Changed in touch-preview-images:
status: Fix Committed → Fix Released
Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments