Public bug reported:

On creating a new QML project, the Exec line in appname.desktop is set
to

Exec=qmlscene "$@" Main.qml

This is incorrect. $@ is a Bash parameter substitution, and will not be
executed. Instead, Exec lines must use field codes, as per
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-
latest.html#exec-variables, so this line should perhaps be

Exec=qmlscene %U Main.qml

so that URLs passed to the app (for example, from the URLDispatcher) are
correctly put on the app's command line and so are retrieveable by the
app itself.

** Affects: qtcreator-plugin-ubuntu (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1495062

Title:
  QML project .desktop Exec line incorrectly uses $@

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtcreator-plugin-ubuntu/+bug/1495062/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to