qt6-bb10/src/plugins/platforms
Assam Boudjelthia 2da00bfc3a Android: Don't assert in add/removeWindow
No need to assert, returning when the window is already added or not
removed is enough.

Pick-to: 6.2 6.3
Fixes: QTBUG-100173
Change-Id: Id491f17612ce42c4e26e9d41ad38f0a6372775bd
Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
2022-04-12 18:21:02 +00:00
..
android Android: Don't assert in add/removeWindow 2022-04-12 18:21:02 +00:00
bsdfb Remove the qmake project files 2021-01-07 15:32:28 +01:00
cocoa macOS: Allow duplicate entries in file dialog name filter 2022-04-07 14:05:04 +02:00
direct2d Always include qt_windows header first 2022-02-22 14:48:38 +01:00
directfb QPA: Set focus reason when window activation changes focus 2021-12-03 08:15:29 +01:00
eglfs Reorganize work with graphical libraries on INTEGRITY 2022-04-05 17:27:15 +03:00
haiku Remove the qmake project files 2021-01-07 15:32:28 +01:00
integrity Remove the qmake project files 2021-01-07 15:32:28 +01:00
ios iOS: Handle changes in user font preferences by invalidating font database 2022-03-30 19:55:21 +01:00
linuxfb CMake: Rename qt6_add_plugin TYPE option to PLUGIN_TYPE 2021-08-06 21:08:21 +02:00
minimal CMake: Rename qt6_add_plugin TYPE option to PLUGIN_TYPE 2021-08-06 21:08:21 +02:00
minimalegl CMake: Rename qt6_add_plugin TYPE option to PLUGIN_TYPE 2021-08-06 21:08:21 +02:00
offscreen Don't blit individual rects of region when when scrolling backingstore 2022-04-07 03:18:56 +02:00
qnx QNX: remove mmrenderer overlay window support 2022-03-24 09:42:03 +10:00
vkkhrdisplay Misc: Do not depend on transitive includes 2022-03-17 17:14:37 +01:00
vnc CMake: Rename qt6_add_plugin TYPE option to PLUGIN_TYPE 2021-08-06 21:08:21 +02:00
wasm wasm: use “specialHtmlTargets” for canvas lookup 2022-04-05 22:34:44 +02:00
windows Don't blit individual rects of region when when scrolling backingstore 2022-04-07 03:18:56 +02:00
xcb xcb: get geometry correctly for rotation with RAndR 1.5 2022-04-08 18:30:17 +00:00
CMakeLists.txt Remove conditioning on Android embedded 2021-09-17 17:30:14 +02:00
README

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.