diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-10-25 18:36:45 (GMT) |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-01-25 17:57:10 (GMT) |
commit | ca63274bd2e4def7b6b8c8daec978bb5e44faf6e (patch) | |
tree | 77dc932d4b844635249fd22fc811eee7334e799f /src/plugins/platforms | |
parent | 632b53c1e2704cf1f922f5b0378693361abb7a3d (diff) | |
download | Qt-ca63274bd2e4def7b6b8c8daec978bb5e44faf6e.zip Qt-ca63274bd2e4def7b6b8c8daec978bb5e44faf6e.tar.gz Qt-ca63274bd2e4def7b6b8c8daec978bb5e44faf6e.tar.bz2 |
Wayland: add waylandgl platform type
This will set mUseOpenGL when -platform waylandgl is passed to clients.
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r-- | src/plugins/platforms/wayland/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/main.cpp b/src/plugins/platforms/wayland/main.cpp index 056cc64..1bca661 100644 --- a/src/plugins/platforms/wayland/main.cpp +++ b/src/plugins/platforms/wayland/main.cpp @@ -55,6 +55,7 @@ QStringList QWaylandIntegrationPlugin::keys() const { QStringList list; list << "Wayland"; + list << "WaylandGL"; return list; } @@ -63,6 +64,8 @@ QPlatformIntegration *QWaylandIntegrationPlugin::create(const QString& system, c Q_UNUSED(paramList); if (system.toLower() == "wayland") return new QWaylandIntegration; + if (system.toLower() == "waylandgl") + return new QWaylandIntegration(true); return 0; } |