Skip to content

Commit

Permalink
configure.ac: Use old way to detect Qt5
Browse files Browse the repository at this point in the history
Bug: #277
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
  • Loading branch information
hosiet authored and mchehab committed Jan 22, 2024
1 parent 368571f commit a549566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -675,8 +675,8 @@ AS_IF([test "x$with_qt" != "xno"],
AS_IF([test "x$with_qt6" = "xno"],
[PKG_CHECK_MODULES([QT],
[Qt5Core >= 5 Qt5Gui >= 5 Qt5Widgets >= 5.0 Qt5X11Extras >= 5.0],
[MOC=`$PKG_CONFIG Qt5 --variable=moc`
QT_VERSION=`$PKG_CONFIG Qt5 --modversion`
[AC_CHECK_PROGS([MOC], [moc-qt5 moc])
QT_VERSION=`$PKG_CONFIG Qt5Gui --modversion`;
qt_pkgconfig_file="zbar-qt5.pc"
],
[with_qt="no"])])
Expand Down

0 comments on commit a549566

Please sign in to comment.