From 2ffab5da28da0628d4c82798046b0db3dd0f66ac Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jonas=20H=C3=B6ppner?= <jonas.hoeppner@garz-fricke.com>
Date: Fri, 18 Sep 2020 15:05:32 +0200
Subject: [PATCH] cmdline, wayland: set environment variables needed to start
 qt gui apps

Adapts /etc/profile to set XDG_RUNTIME_DIR, QT_QPA_PLUGIN, QT_QPA_FONTDIR
and QT_WAYLAND_DISABLE_WINDOWDECORATION

BCS 746-000082
---
 recipes-core/base-files/base-files/profile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-core/base-files/base-files/profile b/recipes-core/base-files/base-files/profile
index 3383184a..ea523517 100644
--- a/recipes-core/base-files/base-files/profile
+++ b/recipes-core/base-files/base-files/profile
@@ -34,3 +34,5 @@ umask 022
 # Defaults to allow start of gui tools from the commandline
 export XDG_RUNTIME_DIR=/run/user/0
 export QT_QPA_FONTDIR=/usr/share/fonts/truetype
+export QT_QPA_PLATFORM=wayland-egl
+export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
-- 
GitLab