]> git.lyx.org Git - features.git/commitdiff
More flexible definition of Qt libraries to include as frameworks for macOS
authorStephan Witt <switt@lyx.org>
Thu, 6 Feb 2020 21:17:35 +0000 (22:17 +0100)
committerStephan Witt <switt@lyx.org>
Sun, 7 Jun 2020 18:33:27 +0000 (20:33 +0200)
(cherry picked from commit 6e54c86a860a81ae75991f21703281d661c48bc5)

development/LyX-Mac-binary-release.sh

index 5ea5d7d16c2867971bbd5b22d6a6107ab622befb..07b66bcc61a9660e519cff0cbf5bb952ea5c71ad 100644 (file)
@@ -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