Home · All Classes · Grouped Classes · Annotated · Functions

Dependencies and Prerequisites

Introduction

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

Note:

  1. 3rdparty libraries are contained in the Qtopia package source, compiling 3rdparty libraries should only be necessary if these libraries are required by 3rdparty applications.
  2. Freetype http://freetype.sourceforge.net/index2.html is recommended though not required.

Supported Compilers

In general terms any version of GCC greater than or equal to 3.3 may be used to compile/cross-compile Qtopia. The following table provides additional information about the status of a given versions of GCC.

PropertyVersion(s)
MinimumGCC 3.3
RecommendedGCC 3.4.3, GCC 3.4.5, GCC 4.1.1 (uses symbol visibility)
Not recommendedGCC 4.0.2, GCC 4.1.0

For further product-specific requirements please refer to the relevant product on the Trolltech website, for example: Phone Edition.

For further information about GCC see: http://www.gnu.org

Sounds and Qtopia

Qtopia can be configured to process sound either with or without the integration of Helix. If Helix integration is required, please refer to: Qtopia Helix Integration .

When Qtopia Helix Integration is not used Qtopia requires that either:

  1. A OSS Linux sound driver is used
  2. A ALSA sound support with OSS compatibility

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

Qtopia also requires that /dev/dsp can be opened as both 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.

For example 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 Usage in Qtopia

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

libjpeg Usage in Qtopia

The jpeg library is not provided with Qtopia, however it is required that Qtopia Core be 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, for example, /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 at Compiling libjpeg62.

xorg or x11 Usage in Qtopia

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 Customization Guide

To see the outline of steps required to customize Qtopia for a new device see: System Customization Guide


Copyright © 2007 Trolltech Trademarks
Qtopia 4.2.5