More flexible definition of Qt libraries to include as frameworks for macOS

(cherry picked from commit 6e54c86a86)
This commit is contained in:
Stephan Witt 2020-02-06 22:17:35 +01:00
parent d75fdd6e47
commit d2c179a0b0

View 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