qt6-bb10/src/plugins/platforms
Richard Moe Gustavsen b00565bc28 iOS: check if qApp is still valid before accessing it
When the application quits, the iOS plugin can be told
to delete after qApp has been set to null. So we
need to add a check for this, to avoid error messages.

Change-Id: I687e0b26e0c54fdd5a8539fe0f31b2e756ea92d8
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
2016-10-15 22:14:28 +00:00
..
android Merge remote-tracking branch 'origin/5.6' into 5.7 2016-10-13 15:18:02 +02:00
cocoa Revert "QCocoaKeyMapper - correctly update key layouts" 2016-10-10 09:54:06 +00:00
direct2d Merge remote-tracking branch 'origin/5.6' into 5.7 2016-04-07 10:47:20 +02:00
directfb Add X11 support for the DRIVE CX 2016-08-10 11:24:23 +00:00
eglfs Add X11 support for the DRIVE CX 2016-08-10 11:24:23 +00:00
haiku Merge remote-tracking branch 'origin/5.6' into 5.7 2016-03-11 20:08:50 +01:00
integrity Add INTEGRITY Framebuffer-based plugin as a platform plugin. 2016-03-22 10:42:03 +00:00
ios iOS: check if qApp is still valid before accessing it 2016-10-15 22:14:28 +00:00
linuxfb Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-19 12:55:27 +02:00
minimal Merge remote-tracking branch 'origin/5.6' into 5.7 2016-07-15 20:47:57 +02:00
minimalegl Add X11 support for the DRIVE CX 2016-08-10 11:24:23 +00:00
mirclient Unify license header usage. 2016-03-29 10:20:03 +00:00
offscreen Merge remote-tracking branch 'origin/5.6' into 5.7 2016-03-11 20:08:50 +01:00
openwfd Merge "Merge remote-tracking branch 'origin/5.6' into 5.7" into refs/staging/5.7 2016-03-13 19:27:21 +00:00
qnx Merge remote-tracking branch 'origin/5.6' into 5.7 2016-09-16 23:16:25 +02:00
windows Merge remote-tracking branch 'origin/5.6' into 5.7 2016-10-08 17:15:55 +02:00
winrt Merge remote-tracking branch 'origin/5.6' into 5.7 2016-09-16 23:16:25 +02:00
xcb Merge remote-tracking branch 'origin/5.6' into 5.7 2016-10-13 15:18:02 +02:00
README
platforms.pro Merge remote-tracking branch 'origin/5.6' into 5.7 2016-06-06 09:04:55 +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.