tst_QCoreApplication: skip theMainThread on Android


The Android platform adopts and names Qt's main thread
before it calls main(), so the main thread is always set
when the test runs, like on HarmonyOS.

Pick-to: 6.12
Change-Id: I097254dd093d3a30d0ad8316d04c2828a8649f11
Reviewed-by: Ville Voutilainen <ville.voutilainen@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
commit81ca4f294d8738b793cf5ab6248a03840f3fe21a
parentd72fa877c1e22fd26f73d5f167f1f6307cef7e9c
authorAssam Boudjelthia <assam.boudjelthia@qt.io>
committerAssam Boudjelthia <assam.boudjelthia@qt.io>
commit timeTue, 20 Oct 2026 10:41:23 +0000