Find the correct moc binary...

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common/admin@1150780 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 15 years ago
parent e868af3437
commit fd14d72f62

@ -311,6 +311,14 @@ AC_DEFUN([AC_PATH_QT_MOC_UIC],
qt_bindirs="$ac_qt_bindir $qt_bindirs" qt_bindirs="$ac_qt_bindir $qt_bindirs"
fi fi
if test "$kde_qtver" = "3"; then
qt_bindirs="/usr/share/qt3/bin $qt_bindirs"
fi
if test "$kde_qtver" = "4"; then
qt_bindirs="/usr/share/qt4/bin $qt_bindirs"
fi
KDE_FIND_PATH(moc, MOC, [$qt_bindirs], [KDE_MOC_ERROR_MESSAGE]) KDE_FIND_PATH(moc, MOC, [$qt_bindirs], [KDE_MOC_ERROR_MESSAGE])
if test -z "$UIC_NOT_NEEDED"; then if test -z "$UIC_NOT_NEEDED"; then
KDE_FIND_PATH(uic, UIC_PATH, [$qt_bindirs], [UIC_PATH=""]) KDE_FIND_PATH(uic, UIC_PATH, [$qt_bindirs], [UIC_PATH=""])

Loading…
Cancel
Save