Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Toutes les fonctions  ·  Vues d'ensemble  · 

Dependencies and Prerequisites

Introduction

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

Supported Compilers

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

PropertyVersion(s)
MinimumGCC 3.4
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 information about GCC see: http://www.gnu.org

Sounds and Qt Extended

Qt Extended can be configured to play sounds via a media engine integration or by playing sounds directly to the sound hardware. One or more media engine integration can be enable via the -mediaengines option see also

    ./configure -help -verbose

Helix Media Engine Integration

For details on how to use the Helix Integration see Qt Extended Helix Integration.

GStreamer Media Engine Integration

Before attempting to configure Qt Extended with GStreamer support enabled ensure that all requirements as stated at http://gstreamer.freedesktop.org/ are met.

Directly Playing Sounds to Hardware

When a media engine integration is not used Qt Extended requires that either:

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

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

  • SNDCTL_DSP_SETFRAGMENT - Qt Extended will set this to 0x4000c.
  • SNDCTL_DSP_SETFM - Qt Extended will set this to AFMT_S16_LE
  • SNDCTL_DSP_STEREO - Qt Extended will set this to 1/true.
  • SNDCTL_DSP_SPEED - Qt Extended will set this to 44100.
  • SNDCTL_DSP_GETOSPACE.

Qt Extended also requires that /dev/dsp can be opened as both blocking and non-blocking. The values set above are the Qt Extended 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 Qt Extended 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 or version 2 support. This is not provided with Qt Extended.

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

3rd Party libraries

For a list of 3rd party libraries that Qt Extended may use see Qt Extended Licensing

Related topics

Getting started

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

System Customization Guide

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

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt qtextended4.4
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web