Repair tst_qqmlproperty on Android

tst_qqmlproperty tries to start itself in another environment
using QProcess. This does not work on Android.

Task-number: QTBUG-101865
Pick-to: 6.2 6.3
Change-Id: I8e0410cf315e53899a88cf1b3c9dfba605b7f4d9
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
This commit is contained in:
Andreas Buhr 2022-04-05 13:55:20 +02:00
parent 5b63902d5c
commit 93193747e8
1 changed files with 4 additions and 0 deletions

View File

@ -2393,6 +2393,10 @@ void tst_qqmlproperty::compatResolveUrls()
QCOMPARE(qvariant_cast<QUrl>(o->property("a")), QUrl(QStringLiteral("relative/url.png")));
#ifdef Q_OS_ANDROID
QSKIP("Can't start QProcess to run a custom user binary on Android");
#endif
#if QT_CONFIG(process)
QProcess process;
process.setProgram(QCoreApplication::applicationFilePath());