diff options
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/resources_functions.prf | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mkspecs/features/resources_functions.prf b/mkspecs/features/resources_functions.prf index 7a260b471a..9b0086596d 100644 --- a/mkspecs/features/resources_functions.prf +++ b/mkspecs/features/resources_functions.prf @@ -35,9 +35,11 @@ defineTest(qtFlattenResources) { } RESOURCES -= $$resource - !android|isEmpty(BUILDS)|build_pass { - resource_file = $$absolute_path($$RCC_DIR/qmake_$${resource}.qrc, $$OUT_PWD) - RESOURCES += $$resource_file + !android { + isEmpty(BUILDS)|build_pass { + resource_file = $$absolute_path($$RCC_DIR/qmake_$${resource}.qrc, $$OUT_PWD) + RESOURCES += $$resource_file + } } else { # 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 |