Make the autotests run on OHOS


OHOS, like Android, runs the autotests from inside an application
package: it cannot exec user-bundled helper binaries via QProcess, and
the test binary lives in the package's native library directory rather
than a build tree.

Mirror the existing Android handling for OHOS:

- TestUtils::init() returns early as it does on Android, since the
  libraries are located in the package's native library directory and
  there is no build-tree path to walk up.

- LOCAL_SOCKET maps to localabstract as it does on Android. Filesystem
  local sockets are not the backend used inside the package sandbox, and
  this also makes tst_integration's localServerConnectionTest() and
  localServerConnectionTest2() self-skip through their 'local'-scheme
  guard exactly as on Android, so they never reach the unsupported
  QProcess call.

- The remaining QProcess-based tests QSKIP on OHOS just as they do on
  Android.

Task-number: QTBUG-147375
Pick-to: 6.12
Change-Id: Ic2d004c5d4aa9b055f90afeb6411a5ce0288279b
Reviewed-by: SanthoshKumar Selvaraj <santhosh.kumar.selvaraj@qt.io>
commit819db38b43bc7331b53cec0e87e6974a757821ff
parent672dab66fa3d8148b03cd9e587928be3b15a4bcc
authorDawid Śliwa <dawid.sliwa@qt.io>
committerDawid Śliwa <dawid.sliwa@qt.io>
commit timeThu, 11 Jun 2026 10:17:49 +0000