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:
parent
b5b48be35a
commit
9e38a7cef9
1 changed files with 4 additions and 2 deletions
|
@ -15,7 +15,9 @@ if test "$enable_qtcontacts" = "yes"; then
|
||||||
AC_DEFINE(ENABLE_QTCONTACTS, 1, [QtContacts available])
|
AC_DEFINE(ENABLE_QTCONTACTS, 1, [QtContacts available])
|
||||||
# AC_WITH_QT() will be called in configure-post if need_qt_modules is not empty,
|
# AC_WITH_QT() will be called in configure-post if need_qt_modules is not empty,
|
||||||
# setting QT_* flags.
|
# setting QT_* flags.
|
||||||
need_qt_modules="$need_qt_modules +qtcontacts +gui"
|
need_qt_modules="$need_qt_modules +gui"
|
||||||
QT_CONTACTS_LIBS="-lQtContacts -lQtVersit"
|
qt_config="$qt_config +mobility"
|
||||||
|
qt_misc="$qt_misc
|
||||||
|
MOBILITY += contacts versit"
|
||||||
fi
|
fi
|
||||||
AC_SUBST(QT_CONTACTS_LIBS)
|
AC_SUBST(QT_CONTACTS_LIBS)
|
||||||
|
|
Loading…
Reference in a new issue