rbutilqt: change the macdeployqt command line

- Remove libpath as the dirs are already in the search path. It doesn't help with QtPdf, QtVirtualKeyboardQml or QtVirtualKeyboard not being found (at least on my system). The native libraries are properly found and copied to the app bundle.
- Remove "|| true" at the end, as even though macdeployqt shows a bunch of "ERROR: " messages, it still exits with code 0

Note: This is a partial revert of bf273149. codesign is still required, the binary is killed with SIGKILL by the OS if the libraries are modified but the signature is not updated.
Change-Id: I2d7d4e32ed8043f302c163db4f89fc90cc921f88
This commit is contained in:
Vencislav Atanasov 2026-06-20 19:13:50 +03:00 committed by Solomon Peachy
parent 005826b630
commit 2dc466229e

View file

@ -138,8 +138,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
OUTPUT ${CMAKE_BINARY_DIR}/${deploy_TARGET}.dmg
COMMENT "Running macdeployqt and creating dmg ${deploy_TARGET}"
COMMAND ${MACDEPLOYQT_EXECUTABLE} ${deploy_TARGET}.app
-libpath=/opt/homebrew/opt/qt@6/lib
-libpath=/opt/homebrew/lib || true
COMMAND codesign --force --deep --sign - ${deploy_TARGET}.app