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
Oswald Buddenhagen 2018-02-19 19:39:42 +01:00
parent ddf6f57f21
commit 76617fdb56
1 changed files with 1 additions and 1 deletions

View File

@ -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()
}