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  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Modules  ·  Fonctions  · 

Window System Specific Notes

Qt is a cross-platform GUI toolkit, so almost the entire API is the same on all platforms and window systems. If you wish to use platform-specific features, and still maintain a platform-independent source tree, you should protect the platform-specific code using the appropriate #ifdef directives (see below).

Qt provides a few low-level global functions for fine-tuning applications on specific platforms. See Special-Purpose Global Functions Exported by Qt for details.

For information about which platforms are supported by Qt, see the Platform Notes. For information on distributing Qt applications, see Deploying Qt Applications.

Qt/X11

When compiling for this platform, the macro Q_WS_X11 is defined.

Not documented here. Please contact Trolltech Technical Support if you have queries.

Qt/X11 Dependencies

Note: You must compile with both Xft and XRender support to get alpha transparency support for pixmaps and images. Configuring with XRender support alone is not enough.

Qt/Windows

When compiling for this platform, the macro Q_WS_WIN is defined.

Not documented here. Please contact Trolltech Technical Support if you have queries.

Qt/Mac OS X

When compiling for this platform, the macro Q_WS_MAC is defined.

Qtopia Core (Qt for Embedded Linux)

When compiling for this platform, the macro Q_WS_QWS is defined (the window system is literally the Qt Window System). See the Qtopia Core documentation for more information.

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 4.1
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