Comment 2 for bug 1291906

Revision history for this message
David Planella (dpm) wrote : Re: [Bug 1291906] Re: Add a workaround to get "run on device" with Ctrl+F12 working again

On Fri, Mar 14, 2014 at 1:53 AM, Nicholas Skaggs <
<email address hidden>> wrote:

> dpm, why can't qtcreator just reference the new file?
>
>
Can you be more specific? Which new file?

> --
> You received this bug notification because you are subscribed to the bug
> report.
> Matching subscriptions: File Manager App Bugmail, Ubuntu RSS Reader Bugmail
> https://bugs.launchpad.net/bugs/1291906
>
> Title:
> Add a workaround to get "run on device" with Ctrl+F12 working again
>
> Status in Music application for Ubuntu devices:
> Triaged
> Status in Calculator application for Ubuntu devices:
> Triaged
> Status in Calendar application for Ubuntu devices:
> Triaged
> Status in Clock application for Ubuntu devices:
> Triaged
> Status in File Manager application for Ubuntu devices:
> Triaged
> Status in RSS Feed Reader application for Ubuntu devices:
> Triaged
> Status in Terminal application for Ubuntu devices:
> Triaged
>
> Bug description:
> After the migration to CMake, the functionality to quickly run an app
> on the device with Ctrl+F12 got broken because the Qt Creator script
> expects a .desktop file to be present. With CMake, the .desktop file
> is only generated at build time from a .desktop.in (or desktop.in.in)
> file, and since we don't execute any build steps with the script, it
> is never created and thus the script fails.
>
> After having talked to the SDK guys, my understanding is that there
> won't be a fix coming any time soon, so I'd recommend to an easy
> workaround by simply committing a static .desktop file to the code.
> This way we'll keep the Ctrl+F12 script happy and we'll be able to
> easily run on device again without any manual steps to generate the
> .desktop file first.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/music-app/+bug/1291906/+subscriptions
>