~carlos-mazieri/ubuntu-filemanager-app/samba-browsing-00

« back to all changes in this revision

Viewing changes to README

  • Committer: Tarmac
  • Author(s): carla-sella
  • Date: 2014-11-19 22:13:35 UTC
  • mfrom: (323.1.24 ubuntu-filemanager-app)
  • Revision ID: tarmac-20141119221335-qbvc6i1ldtf2wl6l
Fixed autopilot places tests for filemanager app. Fixes: https://bugs.launchpad.net/bugs/1386850.

Approved by Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
   password
28
28
4. Once created, you'll need to add the build dependencies for the app:
29
29
  - Click on the Maintain button on your chroot
30
 
  - On the terminal prompt that is started, type 
 
30
  - On the terminal prompt that is started, type
31
31
    apt-get install libtag1-dev:armhf libpam0g-dev:armhf python3
32
32
  - Close the terminal when the installation finishes
33
33
5. Now you can either do a clean checkout and wait to be prompted by Qt Creator
56
56
 
57
57
No additional steps are required before running the app on the desktop.
58
58
 
 
59
You can pass two switches to run in phone or tablet mode from the desktop:
 
60
 
 
61
-p for phone mode
 
62
-t for tablet mode
 
63
 
 
64
 
59
65
### On a device
60
66
 
61
67
Due to Qt Creator's bug #1312094 in launchpad.net, there needs to be a manual
62
68
workaround done before the app can run on the device:
63
 
 
 
69
 
64
70
1. Modify the desktop.in file: change the Exec line to read:
65
71
   Exec=lib/arm-linux-gnueabihf/bin/@EXEC@
66
72
 
147
153
Once the app has been built, you can go to the build directory and run:
148
154
 
149
155
    cd tests/autopilot
150
 
    autopilot run filemanager
 
156
    autopilot3 run filemanager
 
157
 
 
158
You can run filemanager in phone or tablet mode passing one of these two switches:
 
159
 
 
160
-p for phone mode
 
161
-t for tablet mode
 
162
 
 
163
so:
 
164
 
 
165
autopilot3 launch ../../src/app/filemanager -p
 
166
 
 
167
will launch filemanager with autopilot in phone mode.
 
168
 
151
169