touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #05349
[Bug 1349927] [NEW] qmlscene doesn't work on 14.04 and 14.04.1 without installing qt5-default
Public bug reported:
On 14.04, 14.04.1 and utopic (as of 2014-07-29), qmlscene doesn't work
:(
Steps to reproduce:
1- Boot a live CD image for 14.04, 14.04.1 or 14.10 in "try without installing" mode.
2- Open a terminal
3- apt-get install qmlscene
3- qmlscene
Expected result:
- Qmlscene launches and shows a file chooser to open a qml file
Actual result: Error message:
qmlscene: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmlscene':
No such file or directory
Now, qmlscene gets installed in /usr/lib/x86_64-linux-
gnu/qt5/bin/qmlscene. The binary in the path is /usr/bin/qmlscene which
is symlinked to qtchooser. Interestingly, this symlink exists even if
qmlscene is not actually installed, which is doubly confusing.
Qtchooser apparently looks at config files in /usr/lib/x86_64-linux-
gnu/qtchooser/, and in here I can see:
lrwxrwxrwx 1 root root 50 Mar 12 10:09 4.conf -> ../../../share/qtchooser/qt4-x86_64-linux-gnu.conf
lrwxrwxrwx 1 root root 50 May 12 05:44 5.conf -> ../../../share/qtchooser/qt5-x86_64-linux-gnu.conf
lrwxrwxrwx 1 root root 50 Mar 12 10:09 qt4.conf -> ../../../share/qtchooser/qt4-x86_64-linux-gnu.conf
lrwxrwxrwx 1 root root 50 May 12 05:44 qt5.conf -> ../../../share/qtchooser/qt5-x86_64-linux-gnu.conf
but apparently there's no "default.conf" so qtchooser falls back to qt4,
even though qt5 is installed.
If I install the qt5-default package, then a default.conf file is
created in this directory pointing to /usr/share/qtchooser/qt5-x86_64
-linux-gnu.conf, which correctly instructs qtchooser to use qt5
binaries. The problem with qt5-default is that it's described as a
metapackage for development defaults, and indeed, it depends on about 60
MB of -dev packages which shouldn't be needed if all I want is to run
qmlscene with a qml file.
A way to make qmlscene work (maybe by adding the proper dependencies to
the qmlscene package), or with the installation of a single, smallish
package instead of a set of unrelated stuff, would be useful.
** Affects: qtdeclarative-opensource-src (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
- as installed by default on 14.04, 14.04.1 and utopic (as of 2014-07-29),
- qmlscene doesn't work :(
+ On 14.04, 14.04.1 and utopic (as of 2014-07-29), qmlscene doesn't work
+ :(
Steps to reproduce:
1- Boot a live CD image for 14.04, 14.04.1 or 14.10 in "try without installing" mode.
2- Open a terminal
+ 3- apt-get install qmlscene
3- qmlscene
Expected result:
- Qmlscene launches and shows a file chooser to open a qml file
Actual result: Error message:
qmlscene: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmlscene':
No such file or directory
- Now, qmlscene *is* installed in /usr/lib/x86_64-linux-
+ Now, qmlscene gets installed in /usr/lib/x86_64-linux-
gnu/qt5/bin/qmlscene. The binary in the path is /usr/bin/qmlscene which
- is symlinked to qtchooser.
+ is symlinked to qtchooser. Interestingly, this symlink exists even if
+ qmlscene is not actually installed, which is doubly confusing.
Qtchooser apparently looks at config files in /usr/lib/x86_64-linux-
gnu/qtchooser/, and in here I can see:
lrwxrwxrwx 1 root root 50 Mar 12 10:09 4.conf -> ../../../share/qtchooser/qt4-x86_64-linux-gnu.conf
lrwxrwxrwx 1 root root 50 May 12 05:44 5.conf -> ../../../share/qtchooser/qt5-x86_64-linux-gnu.conf
lrwxrwxrwx 1 root root 50 Mar 12 10:09 qt4.conf -> ../../../share/qtchooser/qt4-x86_64-linux-gnu.conf
lrwxrwxrwx 1 root root 50 May 12 05:44 qt5.conf -> ../../../share/qtchooser/qt5-x86_64-linux-gnu.conf
but apparently there's no "default.conf" so qtchooser falls back to qt4,
even though qt5 is installed.
If I install the qt5-default package, then a default.conf file is
created in this directory pointing to /usr/share/qtchooser/qt5-x86_64
-linux-gnu.conf, which correctly instructs qtchooser to use qt5
binaries. The problem with qt5-default is that it's described as a
metapackage for development defaults, and indeed, it depends on about 60
MB of -dev packages which shouldn't be needed if all I want is to run
qmlscene with a qml file.
- A way to make qmlscene work out of the box, or with the installation of
- a single, smallish package instead of a set of unrelated stuff, would be
- useful.
+ A way to make qmlscene work (maybe by adding the proper dependencies to
+ the qmlscene package), or with the installation of a single, smallish
+ package instead of a set of unrelated stuff, would be useful.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qtdeclarative-opensource-
src in Ubuntu.
https://bugs.launchpad.net/bugs/1349927
Title:
qmlscene doesn't work on 14.04 and 14.04.1 without installing
qt5-default
Status in “qtdeclarative-opensource-src” package in Ubuntu:
New
Bug description:
On 14.04, 14.04.1 and utopic (as of 2014-07-29), qmlscene doesn't work
:(
Steps to reproduce:
1- Boot a live CD image for 14.04, 14.04.1 or 14.10 in "try without installing" mode.
2- Open a terminal
3- apt-get install qmlscene
3- qmlscene
Expected result:
- Qmlscene launches and shows a file chooser to open a qml file
Actual result: Error message:
qmlscene: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmlscene':
No such file or directory
Now, qmlscene gets installed in /usr/lib/x86_64-linux-
gnu/qt5/bin/qmlscene. The binary in the path is /usr/bin/qmlscene
which is symlinked to qtchooser. Interestingly, this symlink exists
even if qmlscene is not actually installed, which is doubly confusing.
Qtchooser apparently looks at config files in /usr/lib/x86_64-linux-
gnu/qtchooser/, and in here I can see:
lrwxrwxrwx 1 root root 50 Mar 12 10:09 4.conf -> ../../../share/qtchooser/qt4-x86_64-linux-gnu.conf
lrwxrwxrwx 1 root root 50 May 12 05:44 5.conf -> ../../../share/qtchooser/qt5-x86_64-linux-gnu.conf
lrwxrwxrwx 1 root root 50 Mar 12 10:09 qt4.conf -> ../../../share/qtchooser/qt4-x86_64-linux-gnu.conf
lrwxrwxrwx 1 root root 50 May 12 05:44 qt5.conf -> ../../../share/qtchooser/qt5-x86_64-linux-gnu.conf
but apparently there's no "default.conf" so qtchooser falls back to
qt4, even though qt5 is installed.
If I install the qt5-default package, then a default.conf file is
created in this directory pointing to /usr/share/qtchooser/qt5-x86_64
-linux-gnu.conf, which correctly instructs qtchooser to use qt5
binaries. The problem with qt5-default is that it's described as a
metapackage for development defaults, and indeed, it depends on about
60 MB of -dev packages which shouldn't be needed if all I want is to
run qmlscene with a qml file.
A way to make qmlscene work (maybe by adding the proper dependencies
to the qmlscene package), or with the installation of a single,
smallish package instead of a set of unrelated stuff, would be useful.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1349927/+subscriptions
Follow ups
References