1 The Qt Platform Abstraction - QPA
3 QPA is the platform abstraction layer for Qt 5 and replaces QWS and the
4 platform ports from Qt 4.
6 There is currently little documentation for QPA. The best approach for
7 developing a new platform plugin is to look at the other plugins and
8 see how they implement the APIs in question. The "minimal" plugin
9 is a good starting point. The xcb, windows, cocoa, and qnx plugins
10 are also actively developed and up to date.
12 QPA plugins are implemented by subclassing various QPlatform*
13 classes. There are two "root" classes: QPlatformIntegration for
14 window system integration and QPlatformTheme for deeper platform
15 theming and integration. QStyle is not a part of QPA.
17 The APIs provided by QPlatformIntegration are at this point (5.0 Alpha)
18 mostly stable. QPlatformTheme still has ongoing development. There
19 are no source or binary compatibility guarantees for the QPA classes,
20 meaning that a platform plugin is only guaranteed to work with the Qt
21 version it was developed against. API changes will however only be
22 made in minor releases. (5.1, 5.2, and so on.)
29 QPlatformOpenGLContext
30 QPlatformSharedGraphicsCache
34 QAbstractEventDispatcher
36 QPlatformAccessibility
37 QPlatformNativeInterface
48 src/platformsupport contains several helper classes for implementing
49 platform plugins on unix-like systems.