comparison configure.ac @ 287:8535eb5fb836

autoconf: we require Qt 5.7
author Paper <paper@paper.us.eu.org>
date Wed, 08 May 2024 16:47:03 -0400
parents 19eb6c4dca78
children 8b9db17d1e5f
comparison
equal deleted inserted replaced
286:53e3c015a973 287:8535eb5fb836
22 LT_INIT 22 LT_INIT
23 23
24 24
25 dnl Qt? 25 dnl Qt?
26 AS_IF([test "${enable_qt}" != "no"], [ 26 AS_IF([test "${enable_qt}" != "no"], [
27 PKG_CHECK_MODULES([QT], [Qt5Core >= 5.5.0 Qt5Widgets Qt5Gui Qt5Svg], [ 27 PKG_CHECK_MODULES([QT], [Qt5Core >= 5.7.0 Qt5Widgets Qt5Gui Qt5Svg], [
28 QT_PATH="$(eval $PKG_CONFIG --variable=exec_prefix Qt5Core)" 28 QT_PATH="$(eval $PKG_CONFIG --variable=exec_prefix Qt5Core)"
29 QT_HOST_PATH="$(eval $PKG_CONFIG --variable=host_bins Qt5Core)" 29 QT_HOST_PATH="$(eval $PKG_CONFIG --variable=host_bins Qt5Core)"
30 QT_VERSION="$(eval $PKG_CONFIG --modversion Qt5Gui)" 30 QT_VERSION="$(eval $PKG_CONFIG --modversion Qt5Gui)"
31 AC_PATH_PROGS(QT_MOC, [moc-qt5 moc], moc, ["${QT_HOST_PATH}" "${QT_PATH}/bin"]) 31 AC_PATH_PROGS(QT_MOC, [moc-qt5 moc], moc, ["${QT_HOST_PATH}" "${QT_PATH}/bin"])
32 AC_PATH_PROGS(QT_RCC, [rcc-qt5 rcc], rcc, ["${QT_HOST_PATH}" "${QT_PATH}/bin"]) 32 AC_PATH_PROGS(QT_RCC, [rcc-qt5 rcc], rcc, ["${QT_HOST_PATH}" "${QT_PATH}/bin"])