App fails to start if installed from the .deb package
Bug #1466530 reported by
David Planella
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Calculator App |
Fix Released
|
High
|
Bartosz Kosiorek |
Bug Description
When installing the .deb package, the app fails to start due to an error in the .desktop file.
This is due to qmlscene being called with an empty -I argument:
qmlscene $@ -I ubuntu-
As there is no directory specified for -I, it interprets the name of the main .qml file as a directory, and thus it fails to start.
In turn, this is caused by MODULE_PATH not being defined in the CMake file when not in click mode. Either MODULE_PATH needs to be defined, or removed:
Related branches
lp:~gang65/ubuntu-calculator-app/ubuntu-calculator-app-desktop-install-fix
- David Planella: Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 112 lines (+51/-11)4 files modifiedCMakeLists.txt (+10/-5)
app/CMakeLists.txt (+2/-6)
app/ubuntu-calculator-app.in (+3/-0)
debian/changelog (+36/-0)
tags: | added: bitesize |
Changed in ubuntu-calculator-app: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in ubuntu-calculator-app: | |
assignee: | nobody → Bartosz Kosiorek (gang65) |
Changed in ubuntu-calculator-app: | |
status: | Triaged → In Progress |
Changed in ubuntu-calculator-app: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:ubuntu-calculator-app at revision 200, scheduled for release in ubuntu- calculator- app, milestone Unknown