Commit 78acea5c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Configure: fix some checks about Qt5Core

Pointed by BtbN on IRC
parent 52868ca6
......@@ -3689,7 +3689,7 @@ AC_ARG_ENABLE(qt, [
])
AS_IF([test "${enable_qt}" != "no"], [
PKG_CHECK_MODULES([QT], [Qt5Core >= 5.1.0 Qt5Widgets Qt5Gui], [
QT_PATH="$(eval $PKG_CONFIG --variable=exec_prefix QtCore)"
QT_PATH="$(eval $PKG_CONFIG --variable=exec_prefix Qt5Core)"
AC_PATH_PROGS(MOC, [moc-qt5 moc], moc, [${QT_PATH}/bin ${CONTRIB_DIR}/bin])
AC_PATH_PROG(RCC, [rcc-qt5 rcc], rcc, [${QT_PATH}/bin ${CONTRIB_DIR}/bin])
AC_PATH_PROGS(UIC, [uic-qt5 uic], uic, [${QT_PATH}/bin ${CONTRIB_DIR}/bin])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment