rbutilqt: change the macdeployqt command line

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Sat, 20 Jun 2026 14:01:00 -0400
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 2dc466229edc9ece8281a3b12debe6fd64548372
Author: Vencislav Atanasov <[email protected]>
Date:   Sat Jun 20 19:13:50 2026 +0300

    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

diff --git a/utils/cmake/deploy.cmake b/utils/cmake/deploy.cmake
index c2a9203710..a03cfd225c 100644
--- a/utils/cmake/deploy.cmake
+++ b/utils/cmake/deploy.cmake
@@ -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
 
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs