qt6-bb10/src/plugins/platforms
Andrew Knight fc0f784e54 Windows RT and Windows Phone QPA
Change-Id: I6ab8af31f73439172e43fb709831821482b1cc99
Done-with: Kamil Trzcinski
Done-with: Oliver Wolff
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-10-02 12:36:13 +02:00
..
android Android: remove environment variable warnings at app startup. 2013-09-25 13:25:33 +02:00
cocoa Cocoa: Allow widgets to receive events event when no app is running 2013-09-26 22:25:10 +02:00
directfb remove unnecessary beginPaint and endPaint overrides 2013-09-16 15:21:40 +02:00
eglfs eglfs: Unify the native resource getters 2013-09-21 01:25:19 +02:00
ios iOS: bugfix touch events to also work in inverted portrait/landscape 2013-09-24 14:33:00 +02:00
kms remove unnecessary beginPaint and endPaint overrides 2013-09-16 15:21:40 +02:00
linuxfb Bump QPA-API-version. 2013-07-23 16:30:06 +02:00
minimal add WinRT event dispatcher 2013-09-26 17:26:53 +02:00
minimalegl Merge remote-tracking branch 'origin/stable' into dev 2013-08-14 09:06:31 +02:00
offscreen add WinRT event dispatcher 2013-09-26 17:26:53 +02:00
openwfd Bump QPA-API-version. 2013-07-23 16:30:06 +02:00
qnx Added support for cover windows on BlackBerry platform 2013-09-20 23:45:06 +02:00
windows Correct the detection of Windows-generated mouse events 2013-09-26 18:45:16 +02:00
winrt Windows RT and Windows Phone QPA 2013-10-02 12:36:13 +02:00
xcb Fix clang build for libc++ 2013-10-02 10:32:29 +02:00
README Remove mentioning of 5.0 Alpha from QPA Readme 2013-09-17 09:31:19 +02:00
platforms.pro Windows RT and Windows Phone QPA 2013-10-02 12:36:13 +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.