summaryrefslogtreecommitdiff
path: root/mkspecs
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2021-04-01 14:42:18 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2021-04-08 17:42:46 +0200
commit4661718b7ce82ffcf997613627a901262f913982 (patch)
tree7864d5fc511b2dc29079a41bea6cefe768676b4b /mkspecs
parentda55ec424ff0a79a549891d91a370ba911912284 (diff)
downloadqtbase-4661718b7ce82ffcf997613627a901262f913982.tar.gz
Fix condition that adds resources for each Android ABI
If we already have the list of Android ABI in BUILDS, it's not necessary to generate extra resource while Qt build. Amends: 58556afb6960b442f88649b550aaec8e1a04338b Fixes: QTBUG-88031 Change-Id: I344efe6c477461659a360281da59c4abeae18fc2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit 72d1393c1d88a70c337e87c661bbeefe46346d23)
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/resources_functions.prf4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/features/resources_functions.prf b/mkspecs/features/resources_functions.prf
index 9b7c409121..afd6405fe9 100644
--- a/mkspecs/features/resources_functions.prf
+++ b/mkspecs/features/resources_functions.prf
@@ -35,10 +35,10 @@ defineTest(qtFlattenResources) {
}
RESOURCES -= $$resource
- !android|isEmpty(BUILDS)|build_pass {
+ isEmpty(BUILDS)|build_pass {
resource_file = $$absolute_path($$RCC_DIR/qmake_$${resource}.qrc, $$OUT_PWD)
RESOURCES += $$resource_file
- } else {
+ } else: android {
# Android will need a resource file for each architecture make sure it is placed
# correctly for other functions that need the right paths for these files
for (arch, ANDROID_ABIS) {