From: Stephan Witt Date: Thu, 6 Feb 2020 21:17:35 +0000 (+0100) Subject: More flexible definition of Qt libraries to include as frameworks for macOS X-Git-Tag: 2.3.6~97 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d2c179a0b0a4629e2ab66d058e3a58339e339d0f;p=features.git More flexible definition of Qt libraries to include as frameworks for macOS (cherry picked from commit 6e54c86a860a81ae75991f21703281d661c48bc5) --- diff --git a/development/LyX-Mac-binary-release.sh b/development/LyX-Mac-binary-release.sh index 5ea5d7d16c..07b66bcc61 100644 --- a/development/LyX-Mac-binary-release.sh +++ b/development/LyX-Mac-binary-release.sh @@ -357,15 +357,19 @@ LyxAppPrefix="${LyxAppDir}.app" # don't change order here... case "${QtVersion}" in 5.0.*|5.1.*) - QtLibraries="QtSvg QtXml QtPrintSupport QtWidgets QtGui QtNetwork QtConcurrent QtCore" + QtLibraries=${QtLibraries:-"QtSvg QtXml QtPrintSupport QtWidgets QtGui QtNetwork QtConcurrent QtCore"} + QtFrameworkVersion="5" + ;; +5.12.*) + QtLibraries=${QtLibraries:-"QtDbus QtSvg QtXml QtPrintSupport QtMacExtras QtWidgets QtGui QtNetwork QtConcurrent QtCore"} QtFrameworkVersion="5" ;; 5*) - QtLibraries="QtSvg QtXml QtPrintSupport QtMacExtras QtWidgets QtGui QtNetwork QtConcurrent QtCore" + QtLibraries=${QtLibraries:-"QtSvg QtXml QtPrintSupport QtMacExtras QtWidgets QtGui QtNetwork QtConcurrent QtCore"} QtFrameworkVersion="5" ;; *) - QtLibraries="QtSvg QtXml QtGui QtNetwork QtCore" + QtLibraries=${QtLibraries:-"QtSvg QtXml QtGui QtNetwork QtCore"} QtFrameworkVersion="4" ;; esac