summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-12 22:16:37 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-12 22:16:37 +0000
commite72d5e06a61b50d6ddb078d4f187b0b86101b79b (patch)
tree4d3e101459941dd7bd421f7f8a2e665de95414b6
parent5bb7407bbcc5bb5e08b5850a49102986b230fe14 (diff)
downloadother-e72d5e06a61b50d6ddb078d4f187b0b86101b79b.tar.gz
other-e72d5e06a61b50d6ddb078d4f187b0b86101b79b.zip
Fix TQt UIC detection
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1214090 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--admin/acinclude.m4.in7
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