qmlscene depends on qtlocation5-dev

Bug #1153787 reported by Nicholas Skaggs
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
Undecided
Timo Jyrinki

Bug Description

If you attempt to run ubuntu-calculator-app it will fail unless you have qtlocation5-dev installed. The error is given below.

qmlscene: could not open config file '/usr/share/qtchooser//default.conf': No such file or directory

If you don't have qt5-default installed also you will get;

qmlscene: could not find a Qt installation of ''

Neither of these packages are required by the current deb.

In general we need to be wary of ensuring core apps requirements are packaged properly, and to not depend on a -dev package.

description: updated
summary: - Core Apps are requiring qtlocation5-dev to run on desktop
+ Calculator is requiring qtlocation5-dev to run on desktop
Dalius (dalius-sandbox)
Changed in ubuntu-calculator-app:
assignee: nobody → Michael Hall (mhall119)
summary: - Calculator is requiring qtlocation5-dev to run on desktop
+ [Calculator app] Calculator is requiring qtlocation5-dev to run on
+ desktop
Michael Hall (mhall119)
affects: ubuntu-calculator-app → ubuntu-ui-toolkit
summary: - [Calculator app] Calculator is requiring qtlocation5-dev to run on
- desktop
+ qmlscene depends on qtlocation5-dev
Changed in ubuntu-ui-toolkit:
assignee: Michael Hall (mhall119) → nobody
Revision history for this message
Florian Boucault (fboucault) wrote :

Is that issue happening on the Ubuntu Desktop?
It sounds like the calculator-app simply does not have the right dependencies.

Changed in ubuntu-ui-toolkit:
assignee: nobody → Timo Jyrinki (timo-jyrinki)
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Use:
Depends: qmlrunner | qtchooser, qmlscene

In saucy you can also use simply:
Depends: qtchooser, qmlscene

and run the qmlscene command like 'qmlscene -qt=qt5 file.qml'.

qtlocation5-dev pulled in qtchooser via qtbase5-dev, but qtchooser is the one providing the symlinks.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

To update this bug, in saucy the issue should be resolved without any packaging changes, so please ignore the previous comment :)

But you will need to either call qmlscene like 'qmlscene -qt=qt5 app.qml' or have QT_SELECT environment variable set to 'qt5'.

Changed in ubuntu-ui-toolkit:
status: New → Fix Committed
Changed in ubuntu-ui-toolkit:
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.