|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 07-Dec-2021 | - |
| android/ | H | 07-Dec-2021 | - | 12,526 | 7,860 |
| bsdfb/ | H | 07-Dec-2021 | - | 692 | 381 |
| cocoa/ | H | 03-May-2022 | - | 27,398 | 21,374 |
| direct2d/ | H | 07-Dec-2021 | - | 4,590 | 2,929 |
| directfb/ | H | 07-Dec-2021 | - | 3,362 | 1,934 |
| eglfs/ | H | 03-May-2022 | - | 13,051 | 7,457 |
| haiku/ | H | 07-Dec-2021 | - | 2,918 | 1,462 |
| integrity/ | H | 07-Dec-2021 | - | 982 | 570 |
| ios/ | H | 07-Dec-2021 | - | 11,811 | 8,786 |
| linuxfb/ | H | 07-Dec-2021 | - | 1,490 | 974 |
| minimal/ | H | 07-Dec-2021 | - | 558 | 286 |
| minimalegl/ | H | 07-Dec-2021 | - | 956 | 466 |
| offscreen/ | H | 07-Dec-2021 | - | 1,510 | 896 |
| openwfd/ | H | 07-Dec-2021 | - | 2,351 | 1,111 |
| qnx/ | H | 07-Dec-2021 | - | 11,221 | 6,522 |
| vnc/ | H | 07-Dec-2021 | - | 2,576 | 1,826 |
| wasm/ | H | 03-May-2022 | - | 5,560 | 3,674 |
| windows/ | H | 07-Dec-2021 | - | 34,135 | 23,725 |
| winrt/ | H | 07-Dec-2021 | - | 13,824 | 8,842 |
| xcb/ | H | 07-Dec-2021 | - | 31,347 | 22,534 |
| README | H A D | 07-Dec-2021 | 1.5 KiB | 48 | 39 |
| platforms.pro | H A D | 07-Dec-2021 | 846 | 52 | 35 |
README
1The Qt Platform Abstraction - QPA
2
3QPA is the platform abstraction layer for Qt 5 and replaces QWS and the
4platform ports from Qt 4.
5
6There is currently little documentation for QPA. The best approach for
7developing a new platform plugin is to look at the other plugins and
8see how they implement the APIs in question. The "minimal" plugin
9is a good starting point. The xcb, windows, cocoa, and qnx plugins
10are also actively developed and up to date.
11
12QPA plugins are implemented by subclassing various QPlatform*
13classes. There are two "root" classes: QPlatformIntegration for
14window system integration and QPlatformTheme for deeper platform
15theming and integration. QStyle is not a part of QPA.
16
17There are no source or binary compatibility guarantees for the QPA
18classes, meaning that a platform plugin is only guaranteed to work
19with the Qt version it was developed against. API changes will
20however only be made in minor releases. (5.1, 5.2, and so on.)
21
22Class Overview:
23
24QPlatformIntegration
25 QPlatformWindow
26 QPlatformBackingStore
27 QPlatformOpenGLContext
28 QPlatformSharedGraphicsCache
29 QPlatformFontDatabase
30 QPlatformClipboard
31 QPlatformDrag
32 QAbstractEventDispatcher
33 QPlatformInputContext
34 QPlatformAccessibility
35 QPlatformNativeInterface
36 QPlatformServices
37
38QPlatformTheme
39 QPlatformMenu
40 QPlatformMenuBar
41 QPlatformDialogHelper
42 platform palettes
43 platform fonts
44 theme hints
45
46src/platformsupport contains several helper classes for implementing
47platform plugins on unix-like systems.
48