author | kergoth <kergoth> | 2002-01-31 18:35:48 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-01-31 18:35:48 (UTC) |
commit | 2802e5a2b474101a50bf95e707061ca5542876fd (patch) (unidiff) | |
tree | a1015514ef9e48df091903cccf0d3174e272f663 /docs | |
parent | 48a922e687e82dc8ebe2bc3cb17dcaa8dcae62bd (diff) | |
download | opie-2802e5a2b474101a50bf95e707061ca5542876fd.zip opie-2802e5a2b474101a50bf95e707061ca5542876fd.tar.gz opie-2802e5a2b474101a50bf95e707061ca5542876fd.tar.bz2 |
*** empty log message ***
-rw-r--r-- | docs/start.doc | 51 |
1 files changed, 33 insertions, 18 deletions
diff --git a/docs/start.doc b/docs/start.doc index 01b6ab1..53a4e36 100644 --- a/docs/start.doc +++ b/docs/start.doc | |||
@@ -58,18 +58,18 @@ To compile the example program for running on the Linux desktop: | |||
58 | 58 | ||
59 | <p> | 59 | <p> |
60 | <pre> | 60 | <pre> |
61 | export OPIEDIR=/opt/Qtopia | 61 | export QPEDIR=/opt/Qtopia |
62 | export QTDIR=/opt/Qtopia | 62 | export QTDIR=/opt/Qtopia |
63 | export PATH=$QTDIR/bin:$PATH | 63 | export PATH=$QTDIR/bin:$PATH |
64 | export TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-generic-g++ | 64 | export TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-generic-g++ |
65 | export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH | 65 | export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH |
66 | </pre> | 66 | </pre> |
67 | 67 | ||
68 | <li> Take a copy of the example: | 68 | <li> Take a copy of the example: |
69 | 69 | ||
70 | <pre> | 70 | <pre> |
71 | cd somewhere | 71 | cd somewhere |
72 | cp -r $OPIEDIR/example . | 72 | cp -r $QPEDIR/example . |
73 | cd example | 73 | cd example |
74 | </pre> | 74 | </pre> |
75 | 75 | ||
@@ -89,9 +89,9 @@ To compile the example program for running on the Linux desktop: | |||
89 | 89 | ||
90 | <pre> | 90 | <pre> |
91 | su # root privileges required to install | 91 | su # root privileges required to install |
92 | cp example.desktop $OPIEDIR/apps/Applications | 92 | cp example.desktop $QPEDIR/apps/Applications |
93 | cp Example.png $OPIEDIR/pics | 93 | cp Example.png $QPEDIR/pics |
94 | cp example $OPIEDIR/bin | 94 | cp example $QPEDIR/bin |
95 | exit # no need to be root anymore | 95 | exit # no need to be root anymore |
96 | </pre> | 96 | </pre> |
97 | 97 | ||
@@ -135,24 +135,39 @@ on the desktop, the process is similar: | |||
135 | 135 | ||
136 | <p> | 136 | <p> |
137 | <pre> | 137 | <pre> |
138 | export OPIEDIR=/opt/Qtopia/sharp | 138 | export QPEDIR=/opt/Qtopia/sharp |
139 | export QTDIR=/opt/Qtopia/sharp | 139 | export QTDIR=/opt/Qtopia/sharp |
140 | export PATH=$QTDIR/bin:/usr/local/arm/bin:$PATH | 140 | export PATH=$QTDIR/bin:/usr/local/arm/bin:$PATH |
141 | export TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-sharp-g++ | 141 | export TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-sharp-g++ |
142 | </pre> | 142 | </pre> |
143 | 143 | ||
144 | <li> Build and install exactly the same as you did for the desktop | 144 | <li> Rebuild the makefile ($TMAKEPATH has changed) above: |
145 | (note that the generated Makefile is different): | ||
146 | <pre> | 145 | <pre> |
147 | make clean | 146 | make clean |
148 | tmake -o Makefile example.pro | 147 | tmake -o Makefile example.pro |
149 | ... <i>etc.</i> | ||
150 | </pre> | 148 | </pre> |
151 | 149 | ||
152 | <li> To install it on a device, build an ipk package file (you should be root | 150 | <li> Build it: |
153 | to do this, since then it will strip the executable for you): | ||
154 | <pre> | 151 | <pre> |
152 | make | ||
153 | </pre> | ||
154 | |||
155 | <li> Install it (note that this is now going into the /opt/Qtopia/sharp/ directory): | ||
156 | <pre> | ||
157 | su # root privileges required to install | ||
158 | cp example.desktop $QPEDIR/apps/Applications | ||
159 | cp Example.png $QPEDIR/pics | ||
160 | cp example $QPEDIR/bin | ||
161 | exit # no need to be root anymore | ||
162 | </pre> | ||
163 | |||
164 | </pre> | ||
165 | |||
166 | <li> To install it on a device, build an ipk package file: | ||
167 | <pre> | ||
168 | su # root privileges required to strip the executable | ||
155 | mkipks example.control | 169 | mkipks example.control |
170 | exit # no need to be root anymore | ||
156 | </pre> | 171 | </pre> |
157 | 172 | ||
158 | <p> | 173 | <p> |