From 16f0d38d568b3af135f5db862f5868a6bc669c42 Mon Sep 17 00:00:00 2001 From: Assam Boudjelthia Date: Fri, 25 Feb 2022 11:50:01 +0200 Subject: Android: unify the android tests dummy import files This renames all qml files added before to allow qmlimportsanner to include the necessary modules into Android packages, into android_dummy_imports.qml, and also adds a comment in each one describing why it's needed. Pick-to: 6.2 6.3 Task-number: QTBUG-97056 Change-Id: I7fc0514dd9e5bc10849fdd0503547e1a75242414 Reviewed-by: Fabian Kosmale Reviewed-by: Mitch Curtis --- tests/auto/qml/bindingdependencyapi/android_dummy_imports.qml | 7 +++++++ tests/auto/qml/bindingdependencyapi/dummy_imports.qml | 8 -------- 2 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 tests/auto/qml/bindingdependencyapi/android_dummy_imports.qml delete mode 100644 tests/auto/qml/bindingdependencyapi/dummy_imports.qml (limited to 'tests/auto/qml/bindingdependencyapi') diff --git a/tests/auto/qml/bindingdependencyapi/android_dummy_imports.qml b/tests/auto/qml/bindingdependencyapi/android_dummy_imports.qml new file mode 100644 index 0000000000..573ab4e934 --- /dev/null +++ b/tests/auto/qml/bindingdependencyapi/android_dummy_imports.qml @@ -0,0 +1,7 @@ +// This file exists for the sole purpose for qmlimportscanner to find +// which modules it needs to extract for deployment on Android. +// Otherwise, it fails to find the imports that are expressed in C++. + +import QtQuick + +QtObject { } diff --git a/tests/auto/qml/bindingdependencyapi/dummy_imports.qml b/tests/auto/qml/bindingdependencyapi/dummy_imports.qml deleted file mode 100644 index b9a196e188..0000000000 --- a/tests/auto/qml/bindingdependencyapi/dummy_imports.qml +++ /dev/null @@ -1,8 +0,0 @@ -// This file exists for the sole purpose for qmlimportscanner to find -// which modules it needs to extract for deployment. -// Otherwise, it fails to find the imports that are expressed in C++ -// code in tst_parserstress.cpp - -import QtQuick 2.0 - -QtObject { } // This is needed in order to keep importscanner happy -- cgit v1.2.3