X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-util.git;a=blobdiff_plain;f=cross-compile%2Fmacosx%2Fcreate_dmg;h=f4b36b71c2f5fb871d37aef5c62030feee32882a;hp=d08cd7e14aa26da59f30e18a9a7a001c8365180d;hb=20e302a299c6b625aed33cc0865d8d8f31969697;hpb=616a4523599b4c2925b5811fdb3dfdd6fa12602e diff --git a/cross-compile/macosx/create_dmg b/cross-compile/macosx/create_dmg index d08cd7e..f4b36b7 100755 --- a/cross-compile/macosx/create_dmg +++ b/cross-compile/macosx/create_dmg @@ -26,8 +26,11 @@ PREFIX=$HOME/sr_macosx # The path where to download files to and where to build packages. BUILDDIR=./build_app +# We use Qt 5.5 in order to remain compatible with more versions of Mac OS X. +QTVER=qt@5.5 + # Path to Qt5 binaries. -QTBINDIR=`brew list qt5 | grep bin | head -n 1 | xargs dirname` +QTBINDIR=`brew list $QTVER | grep bin | head -n 1 | xargs dirname` # Path to boost libraries. BOOSTLIBDIR=`brew list boost | grep libboost_system | head -n 1 | xargs dirname`