psmedley/qt6-base-os2

tst_qprocess reports numerous errors which need to be resolved

Opened this issue · 2 comments

tst_qprocess.log
tst_qprocess2.log

tst_qprocess.log is from a while ago - and before #5 was fixed
tst_qprocess2.log is the current result, but the system hangs hard at the point the log finishes.

the primary changes in qprocess_os2.cpp between Qt5 & Qt6 were changes to the Waitfor* functions.

These went to using msecs at the time to wait (https://github.com/bitwiseworks/qtbase-os2/blob/master/src/corelib/io/qprocess_os2.cpp#L1297) to using QDeadlineTimer (https://github.com/psmedley/qt6-base-os2/blob/main/src/corelib/io/qprocess_os2.cpp#L1304)

I made the minimal changes to get it to compile, but test errors indicate this wasn't enough :)

Updated tst_qprocess2.log and qprocess_os2.cpp.diff attached with some tweaks I've made today...
tst_qprocess2.log
qprocess_os2.cpp.diff.txt