summaryrefslogtreecommitdiff
path: root/docs
Side-by-side diff
Diffstat (limited to 'docs') (more/less context) (show whitespace changes)
-rw-r--r--docs/start.doc37
1 files changed, 26 insertions, 11 deletions
diff --git a/docs/start.doc b/docs/start.doc
index 01b6ab1..53a4e36 100644
--- a/docs/start.doc
+++ b/docs/start.doc
@@ -60,3 +60,3 @@ To compile the example program for running on the Linux desktop:
<pre>
- export OPIEDIR=/opt/Qtopia
+ export QPEDIR=/opt/Qtopia
export QTDIR=/opt/Qtopia
@@ -71,3 +71,3 @@ To compile the example program for running on the Linux desktop:
cd somewhere
- cp -r $OPIEDIR/example .
+ cp -r $QPEDIR/example .
cd example
@@ -91,5 +91,5 @@ To compile the example program for running on the Linux desktop:
su # root privileges required to install
- cp example.desktop $OPIEDIR/apps/Applications
- cp Example.png $OPIEDIR/pics
- cp example $OPIEDIR/bin
+ cp example.desktop $QPEDIR/apps/Applications
+ cp Example.png $QPEDIR/pics
+ cp example $QPEDIR/bin
exit # no need to be root anymore
@@ -137,3 +137,3 @@ on the desktop, the process is similar:
<pre>
- export OPIEDIR=/opt/Qtopia/sharp
+ export QPEDIR=/opt/Qtopia/sharp
export QTDIR=/opt/Qtopia/sharp
@@ -143,4 +143,3 @@ on the desktop, the process is similar:
- <li> Build and install exactly the same as you did for the desktop
- (note that the generated Makefile is different):
+ <li> Rebuild the makefile ($TMAKEPATH has changed) above:
<pre>
@@ -148,9 +147,25 @@ on the desktop, the process is similar:
tmake -o Makefile example.pro
- ... <i>etc.</i>
</pre>
- <li> To install it on a device, build an ipk package file (you should be root
- to do this, since then it will strip the executable for you):
+ <li> Build it:
<pre>
+ make
+</pre>
+
+ <li> Install it (note that this is now going into the /opt/Qtopia/sharp/ directory):
+<pre>
+ su # root privileges required to install
+ cp example.desktop $QPEDIR/apps/Applications
+ cp Example.png $QPEDIR/pics
+ cp example $QPEDIR/bin
+ exit # no need to be root anymore
+</pre>
+
+</pre>
+
+ <li> To install it on a device, build an ipk package file:
+<pre>
+ su # root privileges required to strip the executable
mkipks example.control
+ exit # no need to be root anymore
</pre>