From 4851470ff9a62626d2eda364ebcbf3b3f83889b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 18 Aug 2015 08:05:08 +0200 Subject: [PATCH] [wayland] Enforce our internal QPA plugin as QT_QPA_PLATFORM --- main_wayland.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main_wayland.cpp b/main_wayland.cpp index 7446301cb4..9625706627 100644 --- a/main_wayland.cpp +++ b/main_wayland.cpp @@ -449,8 +449,8 @@ int main(int argc, char * argv[]) QProcessEnvironment environment = QProcessEnvironment::systemEnvironment(); environment.insert(QStringLiteral("WAYLAND_DISPLAY"), server->display()->socketName()); - // enforce wayland plugin, unfortunately command line switch has precedence - setenv("QT_QPA_PLATFORM", "wayland", true); + // enforce our internal qpa plugin, unfortunately command line switch has precedence + setenv("QT_QPA_PLATFORM", "wayland-org.kde.kwin.qpa", true); #if (QT_VERSION < QT_VERSION_CHECK(5, 4, 2)) // TODO: remove warning once we depend on Qt 5.5 qWarning() << "QtWayland 5.4.2 required, application might freeze if not present!";