Qtopia Home - Classes - Hierachy - Annotated - Functions - Qt Embedded

Qtopia's Dependencies / Prerequisites

Introduction

In order for Qtopia to run as intended the following prerequisites must be satisfied:

The following libraries are also required:

Note also that Freetype http://freetype.sourceforge.net/index2.html is recommended though not required.

Supported compiler and cross compilers

In general terms any GCC compatible compiler/cross compiler may be used to compile Qtopia. There are no know issues when building Qtopia with

Sound

Qtopia requires that /dev/dsp is writable and supports the following ioctls

Qtopia also requires that /dev/dsp can be opened blocking and non-blocking. The values set above are Qtopia's preferred settings for the audio device, and some deviation is allowed. However smooth playing of audio is not guaranteed if the above ioctls cannot be set to the Qtopia preferred settings. If for instance your device only plays at 22500 speed, then it is required to report this when the SNDCTL_DSP_SPEED ioctl is called and should not result in a drop in audio quality. However not supporting GETOSPACE, non-blocking write or SNDCTL_DSP_SET_FRAGMENT will almost certainly result loss of audio quality.

Video4Linux

The Camera application requires a kernel with Video4Linux version 1 support. This is not provided with Qtopia.

Please refer to the official Video for Linux resources site for details about this API.

zlib

The zlib library can be downloaded from the http://www.gzip.org/zlib/ site.

libuuid (aka luuid)

The uuid library is not provided with Qtopia. It can be downloaded from the http://e2fsprogs.sourceforge.net/ site.

Alternately if you have a SuSE Linux distribution it is likely to be provided by the package e2fsprogs-devel. On Debian it is provided by uuid-dev. The library should be in the standard location, eg /usr/lib/libuuid.so.

To check that the package is installed use your package management tool, for example :

 rpm -qa | grep e2fsprogs 
. If it is not there then install it (and any dependencies) from your distributor's CD or local mirror.

Note that not having e2fsprogs-devel installed will produce the following type of linker error:

/usr/lib/gcc-lib/i586-suse-Linux/3.3.3/../../../../i586-suse-linux/bin/ld:
cannot find -luuid

If the library is installed and you still experienced this linker error then check your -L and -R settings to Qtopia's ./configure script and make sure the actual location of the library is set in the script.

Information about cross compiling libuuid can be found in the System Integrator's Guide.

libjpeg

The jpeg library is not provided with Qtopia. Qtopia requires that Qt/Embedded is configured with JPEG support.

The libjpeg library can be downloaded from the http://www.ijg.org/ site.

Alternately if you have a SuSE Linux distribution it is likely to be provided by the package libjpeg. The library should be in the standard location, eg /usr/lib/libjpeg.so.

To check that the libjpeg package is installed use your package management tool, for example:

 rpm -qa | grep libjpeg 
. If it is not there then install it (and any dependencies) from your distributor's CD or local mirror.

Information about cross compiling libjpeg can be found in the System Integrator's Guide.

xorg or x11

These development packages are available from the following sites:

Related topics

Getting started

To determine what steps are needed to get started with Qtopia see: Getting started

System Integrator's guide

To see the outline of steps required to get Qtopia integrated with a new device see: System Integrator's guide

FAQ's

See the FAQs section in the Qtopia index page


Copyright © 2005 Trolltech Trademarks
Qtopia version 2.1.2