diff options
author | Andreas Buhr <andreas@andreasbuhr.de> | 2022-04-05 13:55:20 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-04-05 16:38:13 +0000 |
commit | 4d8176e86d1bca148d64395e500d9c90165f81f2 (patch) | |
tree | da0e86d0e5035f3c2145e693fbd70af3372ad516 | |
parent | ca82086b0c4b12944b87c307011a870b34857076 (diff) |
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
Change-Id: I8e0410cf315e53899a88cf1b3c9dfba605b7f4d9
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 93193747e8065c5c6c3c33c67c4383b7148b818c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp b/tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp index 6af9f3cec3..7ea9b4183e 100644 --- a/tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp +++ b/tests/auto/qml/qqmlproperty/tst_qqmlproperty.cpp @@ -2340,6 +2340,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()); |