Fix the qmake error when building with qtquickcompiler for iOS
Fix condition when adding qmake_immediate to resources. This condition was wrongly positive in any non-android case, but also had to check for BUILD emptiness or build_pass. This cause issue because qmake_qmake_immediate was added to the RESOURCES variable earlier, than actually generated. Fixes: QTBUG-88031 Pick-to: 6.0 Pick-to: 6.1 Pick-to: 5.15 Change-Id: I38dad858a7e81ab709e622ec24baa8f9b80970fa Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>bb10
parent
fe6338bded
commit
58556afb69
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue