Fix kprocesstest for Qt6
Reading from a non-existing channel (such as the error channel in merged mode) crashes with Qt6.
With that all unit tests pass with Qt6 here.
Edited by Volker Krause
Reading from a non-existing channel (such as the error channel in merged mode) crashes with Qt6.
With that all unit tests pass with Qt6 here.