Next Previous Contents

2. Installation

QTravel is developed using KDevelop. To install it on your handheld system, you can either choose the ipkg-binary for qtopia or grab the sources (tgz for kdevelop 2.1) and compile it on your system.

For this, you need a linux system including cross compilation environment like it is described at ipaqhelp. Here you can either find, how to setup your machine for crosscompilation and a lot of tips developing for linux handhelds.

2.1 How to obtain QTravel

QTravel is available as an ipkg (binary compatible with QPE 1.4.0 or QTopia 1.5.0) or as a source tarball for KDevelop use. You can load it from my homepage qtravel.

2.2 Compilation and installation of the source tarball

In order to compile and install QTravel on your system, type the following in the base directory of the Qtravel distribution:

% ./configure
% make
% make install

Since Qtravel uses

autoconf
you should have not trouble compiling it. Should you run into problems please report them to the the author at Werner Schulte

2.3 Installation on the handheld

Manual

Grab the ipk files from my homepage and transfer them to the handheld. Unpack them using

ipkg install qphoto_x.y.z_arm.ipk

and clear the ipg itself.

Ipkg automatism

Alternatively, you can also add http://www.uv-ac.de/ipkgs to your /etc/ipkg.conf. Doing update;ipkg install qphoto will install qphoto. Dont forget libqte_2.3.2_jpeg_arm and the libjpeg itself.

2.4 Configuration

Before you can start, QTravel needs to know, where its configuration is stored. For this, you have to setup an appropriate environment variable QTRAVELCFG. On your handheld, you can do that in the /etc/profile (assuming you use the user root). Insert the line

export QTRAVELCFG=/root/Applications/docs/qtravel

assuming you are using bash or similar.

Note
From version 0.1.1 on this is done by the installation process postinstall. To get the environment variable working, you have to reboot your handheld.

This is the location where QTravel finds its configuration file. The following paragraph shows the config file as an example.

<?qtravel version="0.1.1" type="config"?>
#-------------------------------------------------------------
# Cfg-File for qtravel
# written from qtravel : V0.2.0
# last modified : date = 25.05.2002
#                 time = 17:20:34
#
# File is automatically generated, dont modify manually
#

[Header]
DATA-PATH=/root/Application/qtravel/data;
TEMPLATE=qtrtemp.qtt;
LAST=qtravel.last;
HELPPROG=helpbrowser;
HELPFILE=/opt/QtPalmtop/docs/qtravel/en/index.html;

[HTMLSYNC]
SYNCFILE=exchange.html;
SERVER=http://finance.yahoo.com/m5?a=1;
FROMPREFIX=&s=;
TOPREFIX=&t=;
POSTFIX=&c=0;

##EOF QTRAVEL CFG FILE qtravel.cfg


Next Previous Contents