← Back to team overview

touch-packages team mailing list archive

[Bug 1497262] Re: qmlscene brings out "No such file or directory" error

 

This is how qtchooser works. You need to install qt5-default package, or
use "qmlscene -qt5" instead of just "qmlscene".

** Changed in: qtdeclarative-opensource-src (Ubuntu)
       Status: New => Invalid

-- 
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/1497262

Title:
  qmlscene brings out "No such file or directory" error

Status in qtdeclarative-opensource-src package in Ubuntu:
  Invalid

Bug description:
  I'm on 64 bit Ubuntu 14.04. At first I installed two games off the
  Software Centre. Clicking their link on the launcher won't run them.

  I trued using the terminal to run them. The shortcut gives the command
  "/usr/bin/qmlscene /opt/2048/2048.qml". The terminal just doesn't do
  anything. Running the command just shows the prompt again.

  I tried reinstalling qmlscene with its dependencies.

  I tried running qmlscene on its own by typing `qmlscene` or
  `/usr/bin/qmlscene`. Both give the same output:

  "qmlscene: could not exec '/usr/lib/x86_64-linux-
  gnu/qt4/bin/qmlscene': No such file or directory"

  ...because there is really no such file (I checked).

  I tried running qmlscene from /usr/bin. Same error. "qmlscene: could
  not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmlscene': No such file or
  directory".

  the qmlscene file is a shortcut to "qtchooser" file so I tried goofing
  around:

  ...@...:~$ '/usr/bin/qtchooser'
  Usage:
    qtchooser { -l | -list-versions | -print-env }
    qtchooser -run-tool=<tool name> [-qt=<Qt version>] [program arguments]
    <executable name> [-qt=<Qt version>] [program arguments]

  Environment variables accepted:
   QTCHOOSER_RUNTOOL  name of the tool to be run (same as the -run-tool argument)
   QT_SELECT          version of Qt to be run (same as the -qt argument)

  ...@...:~$  qtchooser /opt/2048/2048.qml
  qtchooser: unknown argument: /opt/2048/2048.qml
  ...@...:~$ '/usr/bin/qtchooser' /opt/2048/2048.qml
  qtchooser: unknown argument: /opt/2048/2048.qml
  ...@...:~$  qtchooser -run-tool=2048 /opt/2048/2048.qml
  qtchooser: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/2048': No such file or directory
  ...@...:~$

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtdeclarative-opensource-src/+bug/1497262/+subscriptions


References