From 9e69ca5f09a3906d32ed4b70c74f1133bd0adc1a Mon Sep 17 00:00:00 2001 From: gerbert Date: Wed, 13 Nov 2024 16:27:25 +0200 Subject: [PATCH] OS X: update Qt framework path --- .github/workflows/c-cpp.yml | 1 + .github/workflows/macOSBuild.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index e743d74d..641ee099 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -95,6 +95,7 @@ jobs: - name: Build dmg run: | cd build + install_name_tool -add_rpath $(brew --prefix qt)/lib qlog.app/Contents/MacOS/qlog macdeployqt qlog.app cp `brew --prefix`/lib/libhamlib.dylib qlog.app/Contents/Frameworks/libhamlib.dylib cp `brew --prefix`/lib/libqt6keychain.dylib qlog.app/Contents/Frameworks/libqt6keychain.dylib diff --git a/.github/workflows/macOSBuild.yml b/.github/workflows/macOSBuild.yml index 3c2a7208..2f22a557 100644 --- a/.github/workflows/macOSBuild.yml +++ b/.github/workflows/macOSBuild.yml @@ -50,6 +50,7 @@ jobs: make -j4 - name: Build dmg run: | + install_name_tool -add_rpath $(brew --prefix qt)/lib qlog.app cd build macdeployqt qlog.app -executable=./qlog.app/Contents/MacOS/qlog cp `brew --prefix`/lib/libhamlib.dylib qlog.app/Contents/Frameworks/libhamlib.dylib