The ubuntu-sdk metapackage needs to depend on qtdeclarative5-localstorage-plugin

Reported by David Planella on 2013-02-08
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Undecided
Timo Jyrinki

Bug Description

The qtdeclarative5-localstorage-plugin needs to be installed by the ubuntu-sdk package, otherwise the notepad-qml app fails with error:

module "QtQuick.LocalStorage" is not installed

Zoltan Balogh (bzoltan) wrote :

It will be fixed.

Although, it is a interesting question that should the SDK serve all the dependencies of the apps, or should the app packages pull their own dependencies. The answer is not trivial. Because in the classic Debian/Ubuntu distribution models, the applications are expected to pull their own dependencies, but when it comes to the lightweight qml apps, we might want to keep the applications deliverable to the user space without heavy packaging and dependency resolutions.

Timo Jyrinki (timo-jyrinki) wrote :

Well notepad-qml should definitely depend on qtdeclarative5-localstorage-plugin, no doubt about that. It's a good question what packages should be required by ubuntu-sdk and what should be eg. recommended.

David Planella (dpm) wrote :

I would suggest the ubuntu-sdk metapackage to require the Qt Essentials modules + Qt Creator

    http://qt-project.org/wiki/Qt-Essentials-Modules

And to suggest the Add-ons modules:

    http://qt-project.org/wiki/Qt-Add-ons-Modules

Two caveats, though:

- We should probably double-check how up to date those lists in the wiki are
- Does that list maps well into the Ubuntu packages that are available for installation? Timo, what do you think?

Felipe Crochik (fcrochik) wrote :

It would be great to start by adding whatever instructions to http://developer.ubuntu.com/get-started/gomobile/ since it is is the first page new developers will come across.

The page does not specifically mention notepad-qml but it is one of the packages that is installed if you follow the instructions.

notepad-qml should also depend on libqt5sql5-sqlite in order to work.

Timo Jyrinki (timo-jyrinki) wrote :

David: Essential modules includes all the qtdeclarative plugins that are distributed as part of Qt 5.0 - and yes, that's possible and maybe even the way to go. The Add ons are basically non supported, but we already use the Sensors and Location from there for special purposes, and the latter pulls in 3D module. But those shouldn't be depended directly by ubuntu-sdk - currently libqt5webkit5 pulls them in since it's built with those.

Changed in ubuntu-ui-toolkit:
assignee: nobody → Timo Jyrinki (timo-jyrinki)
Timo Jyrinki (timo-jyrinki) wrote :

It's there now. Not as a direct dependency though, but as Recommends, which do get installed for everyone for default.

(there's another topic of whether also all the plugins should be strict dependencies)

Changed in ubuntu-ui-toolkit:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers