ATTENTION: Before installing and using Qt/Embedded, we need to be sure to have theRedhat9.0/Redhat7.2 completely installed, and not to use other versions of Linux such as Fedora.‟‟

http://www.developmentboard.net tel: 86-898-66761781 E-mail: info@developmentboard.net

Recommended cross compiler: arm-linux-gcc-3.3.2
1. Setting up Development Environment
We can find 3 Qt/Embedded source code packages in the CD, respectively:
x86-qtopia.tgz: the Qtopia development package for X86 system;‟‟
arm-qtopia.tgz: ‟‟the Qtopia development package for ARM system, supporting USB mouse
ipaq-qtopia.tgz: ‟‟the Qtopia development package for ARM system, supporting touch screen
The difference among these 3 versions lies in the build compiling script, the rest parts of‟‟ their source code are all the same.
Decompress the source code:
Copy the source code packages to a directory, enter the directory and execute the commands below to decompress them to the directory /opt/HITEG/mini2440:‟‟
#tar xvzf x86-qtopia.tgz –C /opt/HITEG/mmini2440
#tar xvzf arm-qtopia.tgz –C /opt/HITEG/mini2440
#tar xvzf ipaq-qtopia.tgz –C /opt/HITEG/mini2440
In order to simulate and run the Qtopia platform on the PC, we need the library files corresponding to each of these versions, therefore we need to modify the the configuration file ‟/etc/ld.so.conf to make it suitable for the Qt platform that is to be installed (a Qt library has been‟ installed together with the Redhat system, however it is not suitable for our latest version. The modified ld.so.conf file should be as follow:‟‟
/opt/HITEG/mini2440/x86-qtopia/qt/lib
/opt/HITEG/mini2440/x86-qtopia/qtopia/lib
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/sane
/usr/lib/mysql
2. Compiling the Qtopia for X86 system, th/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/sane
/usr/lib/mysql
2. Compiling the Qtopia for X86 system, the Hello,World program and embedded browser‟‟
Configuring and Compiling Qt/Embedded is rather a daunting job, for the convenience, we have built the configuration and compilation into a build script, so that we can configure and‟‟ compile the Qt/Embedded by simply executing the build script.‟‟
2.1 Compiling Qt/Embedded
#cd /opt/HITEG/mini2440/x86-qtopia
#./build-all (This step might take about 30 minutes)
#./konq_to_qtopia (add the compiled browser into the Qtopia execution system)
http://www.developmentboard.net tel: 86-898-66761781 E-mail: info@developmentboard.net