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
1=== renamed file 'app-template.desktop' => 'appTemplate.desktop'
2--- app-template.desktop 2013-02-12 16:18:48 +0000
3+++ appTemplate.desktop 2013-04-11 08:39:42 +0000
4@@ -3,6 +3,6 @@
5 Version=1.0
6 Type=Application
7 Terminal=false
8-Exec=/usr/bin/app-template
9+Exec=/usr/bin/qmlscene $@ /home/phablet/appTemplate/appTemplate.qml
10 Icon=/usr/share/app-template/appTemplate64.png
11 Name=AppTemplate
12
13=== modified file 'appTemplate.qml'
14--- appTemplate.qml 2013-02-12 16:18:48 +0000
15+++ appTemplate.qml 2013-04-11 08:39:42 +0000
16@@ -10,7 +10,8 @@
17 MainView {
18 // objectName for functional testing purposes (autopilot-qt5)
19 objectName: "appTemplate"
20-
21+ applicationName: "appTemplate"
22+
23 width: units.gu(50)
24 height: units.gu(75)
25

Subscribers

People subscribed via source and target branches