diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2018-02-14 15:51:38 +0100 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2018-02-20 09:21:53 +0000 |
commit | 093d85393fbacf68028e3b5fd39329878757d603 (patch) | |
tree | a315db93791b402ee47c345a3374f09dcdfe52a8 /.gitattributes | |
parent | 3190edb07735bb47b7cf85c582d415ab6487a446 (diff) |
Support multiple entries in the Qt platform plugin string
[ChangeLog][QtGui] QT_QPA_PLATFORM and the -platform argument now support a
list of platform plugins in prioritized order. Platforms are separated by
semicolons.
The plugins are tried in the order they are specified as long as all preceding
platforms fail gracefully by returning nullptr in the implementation of
QPlatformIntegrationPlugin::create()
This is useful on Linux distributions where the Wayland plugin may be
installed, but is not supported by the current session. i.e. if X11 is running
or if the compositor does not provide a compatible shell extension.
Example usage:
QT_QPA_PLATFORM="wayland;xcb" ./application
or
./application -platform "wayland;xcb"
Task-number: QTBUG-59762
Change-Id: Ia3f034ec522ed6729d71acf971d172da9e68a5a0
Reviewed-by: Gatis Paeglis <gatis.paeglis@qt.io>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions