qt6-bb10/src/plugins/platforms
Giuseppe D'Angelo 86d04cfe2b Merge "Merge remote-tracking branch 'origin/5.4' into dev" into refs/staging/dev 2014-12-20 07:59:07 +01:00
..
android Merge remote-tracking branch 'origin/5.4' into dev 2014-12-18 12:12:58 +01:00
cocoa Merge remote-tracking branch 'origin/5.4' into dev 2014-12-10 07:58:06 +01:00
direct2d direct2d: Use simple event posting to avoid event queue lock up 2014-11-07 14:54:08 +01:00
directfb Reorganize devicediscovery header 2014-11-26 16:22:43 +01:00
eglfs Fix fullscreen in the X11 hooks of eglfs 2014-12-09 16:58:07 +01:00
ios Merge remote-tracking branch 'origin/5.4' into dev 2014-12-18 12:12:58 +01:00
kms Add Q_DECL_OVERRIDE in the src subdirectory 2014-12-03 09:57:11 +01:00
linuxfb Add Q_DECL_OVERRIDE in the src subdirectory 2014-12-03 09:57:11 +01:00
minimal Add Q_DECL_OVERRIDE in the src subdirectory 2014-12-03 09:57:11 +01:00
minimalegl Add Q_DECL_OVERRIDE in the src subdirectory 2014-12-03 09:57:11 +01:00
offscreen Add Q_DECL_OVERRIDE in the src subdirectory 2014-12-03 09:57:11 +01:00
openwfd Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qnx eglfs: Add support for systems without pbuffer support 2014-10-10 08:36:47 +02:00
windows Merge remote-tracking branch 'origin/5.4' into dev 2014-12-18 12:12:58 +01:00
winrt Add QFont::Weight enum values 2014-12-12 06:59:46 +01:00
xcb Merge "Merge remote-tracking branch 'origin/5.4' into dev" into refs/staging/dev 2014-12-20 07:59:07 +01:00
README Remove mentioning of 5.0 Alpha from QPA Readme 2013-09-17 09:31:19 +02:00
platforms.pro Fix no-opengl build 2014-09-01 14:29:36 +02:00

README

The Qt Platform Abstraction - QPA

QPA is the platform abstraction layer for Qt 5 and replaces QWS and the
platform ports from Qt 4.

There is currently little documentation for QPA. The best approach for
developing a new platform plugin is to look at the other plugins and
see how they implement the APIs in question. The "minimal" plugin
is a good starting point. The xcb, windows, cocoa, and qnx plugins
are also actively developed and up to date.

QPA plugins are implemented by subclassing various QPlatform*
classes. There are two "root" classes: QPlatformIntegration for
window system integration and QPlatformTheme for deeper platform
theming and integration. QStyle is not a part of QPA.

There are no source or binary compatibility guarantees for the QPA
classes, meaning that a platform plugin is only guaranteed to work
with the Qt version it was developed against. API changes will
however only be made in minor releases. (5.1, 5.2, and so on.)

Class Overview:

QPlatformIntegration
    QPlatformWindow
    QPlatformBackingStore
    QPlatformOpenGLContext
    QPlatformSharedGraphicsCache
    QPlatformFontDatabase
    QPlatformClipboard
    QPlatformDrag
    QAbstractEventDispatcher
    QPlatformInputContext
    QPlatformAccessibility
    QPlatformNativeInterface
    QPlatformServices

QPlatformTheme
    QPlatformMenu
    QPlatformMenuBar
    QPlatformDialogHelper
    platform palettes
    platform fonts
    theme hints

src/platformsupport contains several helper classes for implementing
platform plugins on unix-like systems.