diff options
author | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2022-02-25 11:50:01 +0200 |
---|---|---|
committer | Assam Boudjelthia <assam.boudjelthia@qt.io> | 2022-03-02 15:21:09 +0200 |
commit | 16f0d38d568b3af135f5db862f5868a6bc669c42 (patch) | |
tree | 8d0b7d92309dc07f519515617b32d88abecfacfd /tests/auto/qml/bindingdependencyapi | |
parent | 6c3373109fedf45b06c9c48355a80922fd754b31 (diff) |
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 <fabian.kosmale@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/qml/bindingdependencyapi')
-rw-r--r-- | tests/auto/qml/bindingdependencyapi/android_dummy_imports.qml | 7 | ||||
-rw-r--r-- | tests/auto/qml/bindingdependencyapi/dummy_imports.qml | 8 |
2 files changed, 7 insertions, 8 deletions
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 |