From 87eff0ea31bbaf4d3c3ff349ce32ff456794e2b5 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Fri, 20 Oct 2017 12:45:58 +0200 Subject: Fix resolution of QMAKE_INFO_PLIST for non-bundle artifacts Change-Id: Id56cea1f09d7675fe60cdbd598e6f585a6b230d1 Reviewed-by: Oswald Buddenhagen --- mkspecs/features/mac/mac.prf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mkspecs/features/mac/mac.prf b/mkspecs/features/mac/mac.prf index 52f06ef773..73d8b1208b 100644 --- a/mkspecs/features/mac/mac.prf +++ b/mkspecs/features/mac/mac.prf @@ -13,5 +13,6 @@ } $$add_plist: \ - QMAKE_LFLAGS += -Wl,-sectcreate,__TEXT,__info_plist,$$shell_quote($$QMAKE_INFO_PLIST) + QMAKE_LFLAGS += -Wl,-sectcreate,__TEXT,__info_plist,$$shell_quote( \ + $$relative_path($$absolute_path($$QMAKE_INFO_PLIST, $$_PRO_FILE_PWD_), $$OUT_PWD)) } -- cgit v1.2.3