created click pkg for cordova desktop has qmlscene exec

Bug #1232213 reported by Kyle Nitzsche
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtcreator-plugin-ubuntu
Fix Released
Undecided
Juhapekka Piiroinen

Bug Description

I created the default Corodova HTML5 Touch UI project in saucy Ubuntu SDK.

I used the Packaging item on the vertical panel to create a click package and used its wizard to auto create a desktop file, which had this Exec line:
Exec=cordova-ubuntu-2.8 .

Which seems correct given that cordova apps use cordova-ubuntu-2.8 as the runtime and take the app dir as the arg.

However, the created click package contains a desktop file in which the Exec runtime is changed to qmlscene, which is not correct I think for a cordova app:
Exec=qmlscene $@

This replacement is due to the following line in /usr/share/qtcreator/ubuntu/scripts/qtc_project_click_create:
  # lets replace the Exec line
  sed -i "s/^Exec=.*/Exec=qmlscene \$@ ${MAINQML}/g" ${DESKTOPFILE}

Using:
qtcreator-plugin-ubuntu-cordova-common 2.7.2-0ubuntu5

Related branches

description: updated
summary: - created click pkg for cordova dekstop has qmlscene exec
+ created click pkg for cordova desktop has qmlscene exec
Changed in qtcreator-plugin-ubuntu:
assignee: nobody → Juhapekka Piiroinen (juhapekka-piiroinen)
status: New → Confirmed
status: Confirmed → Fix Committed
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:qtcreator-plugin-ubuntu at revision 47, scheduled for release in qtcreator-plugin-ubuntu, milestone Unknown

Zoltan Balogh (bzoltan)
Changed in qtcreator-plugin-ubuntu:
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.