← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1495062] Re: QML project .desktop Exec line incorrectly uses $@

 

This bug was fixed in the package qtcreator-plugin-ubuntu -
3.5.0+16.04.20151126-0ubuntu1

---------------
qtcreator-plugin-ubuntu (3.5.0+16.04.20151126-0ubuntu1) xenial; urgency=medium

  [ Benjamin Zeller ]
  * Fix Bug lp:1494566 "Tools/Ubuntu/Showcase gallery is not working
    after updating my SDK" Fix Bug lp:1499135 "Cannot deploy a scope
    onto phone due to reserved policy group 'debug'" Fix Bug lp:1512072
    "qtc_chroot_wrapper.py craches when build in non ASCII build dir"
    Fix Bug lp:1519385: Latest framework is not presented as the default
    (workaround) Move image files into our own plugin so we do not clash
    with the scaling image provider of UITK (LP: #1512072, #1519385,
    #1494566, #1499135)
  * Migrate plugin to UITK 1.3

  [ Zoltán Balogh ]
  * Change exec line in desktop files. Fixes LP: #1495062 (LP: #1495062)
  * Correct the READMe instruction of the webapp template. Fixes LP:
    #1517196 (LP: #1517196)
  * Migrate the templates to 1.3 UITK

 -- Zoltan Balogh <zoltan.balogh@xxxxxxxxxxxxx>  Thu, 26 Nov 2015
05:24:55 +0000

** Changed in: qtcreator-plugin-ubuntu (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator-plugin-ubuntu in
Ubuntu.
https://bugs.launchpad.net/bugs/1495062

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

Status in qtcreator-plugin-ubuntu package in Ubuntu:
  Fix Released

Bug description:
  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.

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


References