Add a workaround to get "run on device" with Ctrl+F12 working again
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calculator App |
Fix Released
|
Low
|
Unassigned | ||
Ubuntu Calendar App |
Fix Released
|
Low
|
Unassigned | ||
Ubuntu Clock App |
Fix Released
|
Low
|
Nekhelesh Ramananthan | ||
Ubuntu File Manager App |
Fix Released
|
Low
|
Unassigned | ||
Ubuntu Music App |
Fix Released
|
Low
|
Unassigned | ||
Ubuntu Shorts App |
Fix Released
|
Low
|
Unassigned | ||
Ubuntu Terminal App |
Fix Released
|
Low
|
Unassigned |
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.
Related branches
- David Planella: Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 14 lines (+10/-0)1 file modifiedcom.ubuntu.calendar.desktop (+10/-0)
tags: | added: bitesize |
Changed in ubuntu-calculator-app: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in ubuntu-calendar-app: | |
status: | New → Triaged |
Changed in ubuntu-clock-app: | |
status: | New → Triaged |
Changed in ubuntu-filemanager-app: | |
status: | New → Triaged |
Changed in music-app: | |
status: | New → Triaged |
Changed in ubuntu-rssreader-app: | |
status: | New → Triaged |
Changed in ubuntu-terminal-app: | |
status: | New → Triaged |
Changed in ubuntu-calendar-app: | |
importance: | Undecided → Low |
Changed in ubuntu-clock-app: | |
importance: | Undecided → Low |
Changed in ubuntu-filemanager-app: | |
importance: | Undecided → Low |
Changed in music-app: | |
importance: | Undecided → Low |
Changed in ubuntu-rssreader-app: | |
importance: | Undecided → Low |
Changed in ubuntu-terminal-app: | |
importance: | Undecided → Low |
Changed in ubuntu-calendar-app: | |
status: | Fix Committed → Fix Released |
Changed in music-app: | |
status: | Triaged → Fix Released |
Changed in ubuntu-rssreader-app: | |
status: | Triaged → Fix Released |
Changed in ubuntu-terminal-app: | |
status: | Triaged → Fix Released |
Changed in ubuntu-calculator-app: | |
status: | Triaged → Fix Released |
dpm, why can't qtcreator just reference the new file?