summaryrefslogtreecommitdiff
path: root/docs/start.doc
Side-by-side diff
Diffstat (limited to 'docs/start.doc') (more/less context) (show whitespace changes)
-rw-r--r--docs/start.doc12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/start.doc b/docs/start.doc
index 9745d9a..01b6ab1 100644
--- a/docs/start.doc
+++ b/docs/start.doc
@@ -45,66 +45,66 @@ contest for this device will have received both the SDK and a cross-compiler.
<p>
The SDK includes an example program. We recommend that you compile and
run this example to learn how things work, before tackling your own
projects.
<p>
To compile the example program for running on the Linux desktop:
<ol>
<li>
<p>
Check the environment is correct:
<p>
<pre>
- export QPEDIR=/opt/Qtopia
+ export OPIEDIR=/opt/Qtopia
export QTDIR=/opt/Qtopia
export PATH=$QTDIR/bin:$PATH
export TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-generic-g++
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
</pre>
<li> Take a copy of the example:
<pre>
cd somewhere
- cp -r $QPEDIR/example .
+ cp -r $OPIEDIR/example .
cd example
</pre>
<li> Generate a Makefile:
<pre>
tmake -o Makefile example.pro
</pre>
<li> Build the example:
<pre>
make
</pre>
<li> Install it:
<pre>
su # root privileges required to install
- cp example.desktop $QPEDIR/apps/Applications
- cp Example.png $QPEDIR/pics
- cp example $QPEDIR/bin
+ cp example.desktop $OPIEDIR/apps/Applications
+ cp Example.png $OPIEDIR/pics
+ cp example $OPIEDIR/bin
exit # no need to be root anymore
</pre>
<li> To run it, first run the Qt Virtual Framebuffer:
<pre>
qvfb &amp;
</pre>
<li> Then run the <i>Qtopia</i> environment:
<pre>
qpe
</pre>
<p>
@@ -122,33 +122,33 @@ inside the Qt Virtual Framebuffer window.
To make your own application, use the example program as a model. Make sure that
when you add files to your project, you also add them
to your project file (e.g. <tt>example.pro</tt>) and rerun the
<tt>tmake</tt> command to update the <tt>Makefile</tt>.
<p>
To build you application for the SHARP SL5000 rather than just running
on the desktop, the process is similar:
<ol>
<li>
<p>
Check the environment is correctly set for the SHARP SL5000:
<p>
<pre>
- export QPEDIR=/opt/Qtopia/sharp
+ export OPIEDIR=/opt/Qtopia/sharp
export QTDIR=/opt/Qtopia/sharp
export PATH=$QTDIR/bin:/usr/local/arm/bin:$PATH
export TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-sharp-g++
</pre>
<li> Build and install exactly the same as you did for the desktop
(note that the generated Makefile is different):
<pre>
make clean
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):
<pre>