Skip to content

Commit

Permalink
fix #3
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik committed Aug 20, 2020
1 parent 3cdabd5 commit bdde294
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 1 addition & 3 deletions qgis_bundle/recipes/qgis/recipe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ function fix_binaries_qgis() {
install_name_add_rpath @executable_path/../Frameworks $BUNDLE_CONTENTS_DIR/MacOS/QGIS
install_name_add_rpath @executable_path/lib $BUNDLE_CONTENTS_DIR/MacOS/QGIS
install_name_add_rpath @executable_path/../Resources/grass${VERSION_grass_major}${VERSION_grass_minor}/lib $BUNDLE_CONTENTS_DIR/MacOS/QGIS

# TODO: https://github.com/qgis/QGIS-Mac-Packager/issues/3
# install_name_add_rpath @loader_path/../../MacOS/lib $BUNDLE_CONTENTS_DIR/PlugIns/designer/libqgis_customwidgets.$QGIS_VERSION.0.dylib
install_name_add_rpath @loader_path/../../MacOS/lib $BUNDLE_CONTENTS_DIR/PlugIns/designer/libqgis_customwidgets.$QGIS_VERSION.0.dylib

install_name_id @rpath/libqgispython.$QGIS_VERSION.0.dylib $BUNDLE_CONTENTS_DIR/MacOS/lib/libqgispython.$QGIS_VERSION.0.dylib
install_name_id @rpath/libqgis_app.$QGIS_VERSION.0.dylib $BUNDLE_CONTENTS_DIR/MacOS/lib/libqgis_app.$QGIS_VERSION.0.dylib
Expand Down
8 changes: 8 additions & 0 deletions qgis_bundle/recipes/qt/designer
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

BINDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

# workaround for https://github.com/qgis/QGIS-Mac-Packager/issues/3
export DYLD_INSERT_LIBRARIES=$BINDIR/../lib/libsqlite3.dylib

$BINDIR/../Designer.app/Contents/MacOS/Designer
1 change: 1 addition & 0 deletions qgis_bundle/recipes/qt/recipe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function bundle_qt() {

#### Designer
try rsync -av $QT_ROOT_DIR/bin/Designer.app $BUNDLE_MACOS_DIR/
try cp -av $RECIPES_PATH/qt/designer $BUNDLE_BIN_DIR/
}

function fix_binaries_qt() {
Expand Down

0 comments on commit bdde294

Please sign in to comment.