It was removed in favor of setChildProcessModifier()
Description
Description
Comment Actions
This looks like it should be in "Waiting of KF6 branching"? because indeed, in Qt6 setupChildPorcess() is gone, and in Qt5 setChildProcessModifier() doesn't exist.
And Qt docs doesn't mention this at all...
Comment Actions
I noticed kprocess uses #if QT_DEPRECATED_SINCE(5, 13) for compiling different code depending on the Qt version [1]. I think a similar technique can be applied to kpty?
[1] https://invent.kde.org/frameworks/kcoreaddons/-/blob/master/src/lib/io/kprocess.h#L324