summaryrefslogtreecommitdiffstats
path: root/wayland
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2017-08-13 12:02:21 +0200
committerHolger Freyther <holger+qt@freyther.de>2017-09-12 06:17:28 +0000
commit1a80548f586f4e1c0e747276e67fb6da9f213718 (patch)
tree652a36c361a9f0a4071f7b40438a5d2a084cdd38 /wayland
parentff2b5b5468fcfce0a2277cb2baad494344144ad8 (diff)
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 <paul.tvete@qt.io>
Diffstat (limited to 'wayland')
-rw-r--r--wayland/democompositor/processlauncher.cpp1
1 files changed, 1 insertions, 0 deletions
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);