FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

configure: allow explicit --with-qt=qt5 · gnuplot/gnuplot@9ab73c0 · GitHub

Repository navigation

Commit 9ab73c0

Browse files
Ethan A Merritt
committed
configure: allow explicit --with-qt=qt5
1 parent e458b88 commit 9ab73c0

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

‎configure.ac‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,8 +1073,11 @@ if test "${enable_qt}" = yes ; then
10731073
fi
10741074

10751075
if test "x${with_qt}" != "xqt4"; then
1076-
AC_MSG_CHECKING([Checking for Qt6 support libraries])
1077-
PKG_CHECK_MODULES_NOFAIL(QT, [Qt6Core Qt6Gui Qt6Network Qt6Svg Qt6PrintSupport Qt6Core5Compat])
1076+
pkg_failed="not_tried"
1077+
if test "x${with_qt}" != "xqt5"; then
1078+
AC_MSG_CHECKING([Checking for Qt6 support libraries])
1079+
PKG_CHECK_MODULES_NOFAIL(QT, [Qt6Core Qt6Gui Qt6Network Qt6Svg Qt6PrintSupport Qt6Core5Compat])
1080+
fi
10781081
if test $pkg_failed = no; then
10791082
QT6LOC=`$PKG_CONFIG --variable=host_bins Qt6Core`
10801083
if test "x${QT6LOC}" != "x"; then
@@ -1386,7 +1389,7 @@ if test "$enable_qt_ok" = yes; then
13861389
AC_MSG_RESULT([ Qt : yes (qt6)])
13871390
fi
13881391
else
1389-
AC_MSG_RESULT([ Qt : no (use --with-qt or --with-qt=qt4 to enable])
1392+
AC_MSG_RESULT([ Qt : no (use --with-qt or --with-qt=qt4 or --with-qt=qt5 to enable])
13901393
fi
13911394

13921395
AC_MSG_RESULT([])

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL