permissions: Handle relative paths to Info.plist file

Pick-to: 6.5
Change-Id: I5fb6bd7da37392bb4a44309b4545fe158a60b3e3
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Tor Arne Vestbø 2023-02-02 16:26:56 +01:00
parent 5af0177c9e
commit 14649404bc

View File

@ -1,4 +1,9 @@
isEmpty(QMAKE_INFO_PLIST)|!exists($$QMAKE_INFO_PLIST): \
isEmpty(QMAKE_INFO_PLIST): \
return()
plist_path = $$relative_path($$absolute_path($$QMAKE_INFO_PLIST, $$_PRO_FILE_PWD_), $$OUT_PWD))
!exists($$plist_path): \
return()
for(plugin, QT_PLUGINS) {