QtContacts: find QtContacts properly

This configure changes removes the hard-coding of -lQtContacts -lQtVersit
and replaces it with proper qmake magic to find the libraries.
This commit is contained in:
Patrick Ohly 2010-07-15 15:57:36 +02:00
parent b5b48be35a
commit 9e38a7cef9

View file

@ -15,7 +15,9 @@ if test "$enable_qtcontacts" = "yes"; then
AC_DEFINE(ENABLE_QTCONTACTS, 1, [QtContacts available])
# AC_WITH_QT() will be called in configure-post if need_qt_modules is not empty,
# setting QT_* flags.
need_qt_modules="$need_qt_modules +qtcontacts +gui"
QT_CONTACTS_LIBS="-lQtContacts -lQtVersit"
need_qt_modules="$need_qt_modules +gui"
qt_config="$qt_config +mobility"
qt_misc="$qt_misc
MOBILITY += contacts versit"
fi
AC_SUBST(QT_CONTACTS_LIBS)