diff options
Diffstat (limited to 'admin/acinclude.m4.in')
-rw-r--r-- | admin/acinclude.m4.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/admin/acinclude.m4.in b/admin/acinclude.m4.in index f73c8bb..4322fc9 100644 --- a/admin/acinclude.m4.in +++ b/admin/acinclude.m4.in @@ -333,7 +333,12 @@ AC_DEFUN([AC_PATH_QT_MOC_UIC], KDE_FIND_PATH(moc, MOC, [$qt_bindirs], [KDE_MOC_ERROR_MESSAGE]) if test -z "$UIC_NOT_NEEDED"; then - KDE_FIND_PATH(uic, UIC_PATH, [$qt_bindirs], [UIC_PATH=""]) + if test $kde_qtver = 3; then + KDE_FIND_PATH(uic, UIC_PATH, [$qt_bindirs], [UIC_PATH=""]) + fi + if test $kde_qtver = 4; then + KDE_FIND_PATH(uic-tqt, UIC_PATH, [$qt_bindirs], [UIC_PATH=""]) + fi if test -z "$UIC_PATH" ; then KDE_UIC_ERROR_MESSAGE exit 1 |