[LyX/master] Improved Qt framework configuration detection on macOS, add QtCore5Compat headers to configure based includes

Stephan Witt switt at lyx.org
Sun Dec 12 20:56:58 UTC 2021


commit cb4715d7395ac9b3343862a0a0017e44367768b1
Author: Stephan Witt <switt at lyx.org>
Date:   Sun Dec 12 22:24:23 2021 +0100

    Improved Qt framework configuration detection on macOS, add QtCore5Compat headers to configure based includes
---
 config/qt.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/config/qt.m4 b/config/qt.m4
index b9ffe28..05fa9ce 100644
--- a/config/qt.m4
+++ b/config/qt.m4
@@ -44,7 +44,7 @@ AC_DEFUN([QT_CHECK_COMPILE],
 		qt_cv_libname=
 		for libname in $qt_guilibs \
 		               '-framework QtCore -framework QtConcurrent -framework QtSvg -framework QtWidgets -framework QtMacExtras -framework QtGui'\
-		               '-framework QtCore -framework QtConcurrent -framework QtSvg -framework QtSvgWidgets -framework QtWidgets -framework QtGui'\
+		               '-framework QtCore -framework QtConcurrent -framework QtCore5Compat -framework QtSvg -framework QtSvgWidgets -framework QtWidgets -framework QtGui'\
 		               '-framework QtCore -framework QtGui'
 		do
 			QT_TRY_LINK($libname)


More information about the lyx-cvs mailing list