qmake: fix immediate RESOURCES with absolute RCC_DIR
$$RCC_DIR can be absolute, so simple concatenation with $$OUT_PWD is bound to fail. Change-Id: Ibd80c49656c0e03b8a86ebca851af106cced08fb Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>bb10
parent
ddf6f57f21
commit
76617fdb56
|
|
@ -64,7 +64,7 @@ for(resource, RESOURCES) {
|
|||
"</qresource>" \
|
||||
"</RCC>"
|
||||
|
||||
!write_file($$OUT_PWD/$$resource_file, resource_file_content): \
|
||||
!write_file($$absolute_path($$resource_file, $$OUT_PWD), resource_file_content): \
|
||||
error()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue