permissions: Handle relative paths to Info.plist file

Change-Id: I5fb6bd7da37392bb4a44309b4545fe158a60b3e3
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 14649404bc9e30d67bbe39c698806e5846f46ac7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tor Arne Vestbø 2023-02-02 16:26:56 +01:00 committed by Qt Cherry-pick Bot
parent b99f9c50c0
commit ffd312d565

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) {