From 1a80548f586f4e1c0e747276e67fb6da9f213718 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 13 Aug 2017 12:02:21 +0200 Subject: democompositor: Forward client application output In the long run we could do line based reading and associate the line with the AppState/AppEntry but for now it is better to see some log messages at all (I was debugging an issue that with QT_WAYLAND_DISABLE_WINDOWDECORATION set the surface would remain black). Log output didn't help in the end but it was a start and the issue is still open. Change-Id: Icd4e041a4004c6a76e685906d63704c2cbf51f63 Reviewed-by: Paul Olav Tvete --- wayland/democompositor/processlauncher.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'wayland') diff --git a/wayland/democompositor/processlauncher.cpp b/wayland/democompositor/processlauncher.cpp index bb11cb9..2fb75c7 100644 --- a/wayland/democompositor/processlauncher.cpp +++ b/wayland/democompositor/processlauncher.cpp @@ -105,6 +105,7 @@ void WaylandProcessLauncher::launch(const AppEntry &entry) qCDebug(procs) << "Launching" << entry.executableName; QProcess *process = new QProcess(this); + process->setProcessChannelMode(QProcess::ForwardedChannels); AppState state{process, entry}; m_appStates.push_back(state); -- cgit v1.2.3