qa: Use QProcess::errorOccurred instead of QProcess::error if possible