Merge lp:~bzoltan/ubuntu-phone-commons/qtc_and_device_fix into lp:ubuntu-phone-commons

Proposed by Zoltan Balogh
Status: Needs review
Proposed branch: lp:~bzoltan/ubuntu-phone-commons/qtc_and_device_fix
Merge into: lp:ubuntu-phone-commons
Diff against target: 24 lines (+3/-2)
2 files modified
appTemplate.desktop (+1/-1)
appTemplate.qml (+2/-1)
To merge this branch: bzr merge lp:~bzoltan/ubuntu-phone-commons/qtc_and_device_fix
Reviewer Review Type Date Requested Status
Michael Hall Pending
Review via email: mp+158295@code.launchpad.net

Description of the change

The MainView should have applicationName property set so the application can subscribe to the HUD. The .desktop file name should be the same as the application's name and the Exec=/usr/bin/qmlscene $@ /path/to/the/app.qml should be set in order to enable dynamic application installation.

To post a comment you must log in.

Unmerged revisions

2. By Zoltan Balogh

fix the template to work with QtCreator and with the phablet device

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== renamed file 'app-template.desktop' => 'appTemplate.desktop'
--- app-template.desktop 2013-02-12 16:18:48 +0000
+++ appTemplate.desktop 2013-04-11 08:39:42 +0000
@@ -3,6 +3,6 @@
3Version=1.03Version=1.0
4Type=Application4Type=Application
5Terminal=false5Terminal=false
6Exec=/usr/bin/app-template6Exec=/usr/bin/qmlscene $@ /home/phablet/appTemplate/appTemplate.qml
7Icon=/usr/share/app-template/appTemplate64.png7Icon=/usr/share/app-template/appTemplate64.png
8Name=AppTemplate8Name=AppTemplate
99
=== modified file 'appTemplate.qml'
--- appTemplate.qml 2013-02-12 16:18:48 +0000
+++ appTemplate.qml 2013-04-11 08:39:42 +0000
@@ -10,7 +10,8 @@
10MainView {10MainView {
11 // objectName for functional testing purposes (autopilot-qt5)11 // objectName for functional testing purposes (autopilot-qt5)
12 objectName: "appTemplate"12 objectName: "appTemplate"
13 13 applicationName: "appTemplate"
14
14 width: units.gu(50)15 width: units.gu(50)
15 height: units.gu(75)16 height: units.gu(75)
16 17

Subscribers

People subscribed via source and target branches