QML plugins should be installed somewhere else than qt5/imports

Bug #1205213 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-mir
Triaged
Medium
Unassigned

Bug Description

qt5/imports is a non-standard place that Ubuntu.Application plugin was installed into, not sure why that was.

But unity-mir shouldn't follow that. If we install under qt5/, it should mean that it's globally accessible - but since we don't want it to be, a completely separate import path should be used. Something along the lines of /usr/lib/*/unity-mir/qml.

Revision history for this message
Michał Sawicz (saviq) wrote :

The mirserver QPA plugin should probably also not be available on a standard QPA path, if possible.

Revision history for this message
kevin gunn (kgunn72) wrote :

its not in imports...it seems to be here ./usr/lib/arm-linux-gnueabihf/libunity-mir.so.1.0.0
good enough ?

Changed in unity-mir:
status: New → Incomplete
Revision history for this message
Michał Sawicz (saviq) wrote :

libunity-mir1:armhf: /usr/lib/arm-linux-gnueabihf/qt5/imports/Unity-Mir

This is a custom import path that's currently used and "dynamically" added to QML2_IMPORT_PATH, depending on whether we're using SF or not.

It should be in a different place, not even under qt5/, that only shell will be able to load (apport-protected).

Changed in unity-mir:
status: Incomplete → Confirmed
Michał Sawicz (saviq)
Changed in unity-mir:
importance: Undecided → Medium
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.