Set qmlscene and qt5-default as default packages

Bug #1349368 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Provider for Plainbox - Canonical Certification (Legacy)
Fix Released
High
Daniel Manrique

Bug Description

Since we're now using the qml files for testing touchscreen zoom / rotate
I think we will need to put them into our dependency list
(or we do this in preseed files)

Otherwise, those new touch tests (written in qml) cannot be started

Tags: bite-size
Revision history for this message
Daniel Manrique (roadmr) wrote :

I'm OK to add a recommends for qmlscene to plainbox-provider-certification-client.

I don't think qt5-default is needed, as this is only used during development and would install a lot of unneeded dependencies.

Changed in plainbox-provider-checkbox:
status: New → Triaged
importance: Undecided → High
affects: plainbox-provider-checkbox → plainbox-provider-canonical-certification
Changed in plainbox-provider-canonical-certification:
milestone: none → 0.4
tags: added: bite-size
Changed in plainbox-provider-canonical-certification:
milestone: 0.4 → 0.5
Daniel Manrique (roadmr)
Changed in plainbox-provider-canonical-certification:
assignee: nobody → Daniel Manrique (roadmr)
status: Triaged → In Progress
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Hi Daniel,
I agree with you about the qt5-default stuff, but I'm not sure if qmlscene is enough.
After qmlscene has been installed, I got:

ubuntu@201306-13866:/usr/share/2013.com.canonical.certification:checkbox/data$ sudo apt-get install qmlscene
Reading package lists... Done
Building dependency tree
Reading state information... Done
qmlscene is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
ubuntu@201306-13866:/usr/share/2013.com.canonical.certification:checkbox/data$ qmlscene touch_zoom_test.qml
qmlscene: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmlscene': No such file or directory

Revision history for this message
Daniel Manrique (roadmr) wrote :

Oh you're right :/ It's a bit ridiculous that for qt5 to work, all the development packages have to be installed :/

I'll fix this in a moment.

Revision history for this message
Daniel Manrique (roadmr) wrote :

Using qmlscene --qt=5 correctly selects qt5, but again it's ridiculous that one has to do this.

Revision history for this message
Daniel Manrique (roadmr) wrote :

Basically what installing qt5-default does is symlink /usr/lib/x86_64-linux-gnu/qtchooser/qt5.conf to default.conf. Notice that qmlscene is actually a symlink to qtchooser, and it's the chooser's fault to be choosing a non-installed version of qmlscene.

Anyway, there're a few ways we could work around this, but the easiest to implement is depending on qt5-default. I don't like installing 60 MB of unneeded development packages, but it will be the fastest way to get certification working.

I'll amend the merge in a moment.

Revision history for this message
Daniel Manrique (roadmr) wrote :

I added qt5-default to our dependencies, and also filed an "upstream" bug:

https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1349927

Daniel Manrique (roadmr)
Changed in plainbox-provider-canonical-certification:
status: In Progress → Fix Committed
Daniel Manrique (roadmr)
Changed in plainbox-provider-canonical-certification:
status: Fix Committed → Fix Released
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.