<p>You need latest Telepathy-qt4</p>
<div class="gmail_quote">On Nov 6, 2011 3:04 AM, "Frederik Schwarzer" <<a href="mailto:schwarzer@kde.org">schwarzer@kde.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I am currently trying to build KTelepathy to test my translation but<br>
I get a cmake error.<br>
<br>
When I try to build  telepathy-contact-list, I get this error:<br>
     CMake Error at /usr/share/kde4/apps/cmake/modules/FindPackageHandleStandardArgs.cmake:198 (MESSAGE):<br>
     Could NOT find TELEPATHY_QT4 (missing: TELEPATHY_QT4_INCLUDE_DIR)<br>
    Call Stack (most recent call first):<br>
     cmake/modules/FindTelepathyQt4.cmake:42 (find_package_handle_standard_args)<br>
     CMakeLists.txt:10 (find_package)<br>
<br>
So TELEPATHY_QT4_INCLUDE_DIR is not defined.<br>
<br>
cmake/modules/FindTelepathyQt4.cmake looks for the file<br>
    TelepathyQt4/Types<br>
which is provided by the package libtelepathy-qt4-dev on Debian.<br>
The package is installed. The file lies in<br>
    /usr/include/telepathy-1.0/<br>
<br>
So adding<br>
    PATHS /usr/include/telepathy-1.0/<br>
to the cmake file's find_path command solved the issue, so I guess, the<br>
path in which Debian stores the file is not in the HINT variables. But<br>
that's just a guess.<br>
<br>
However, the build process fails then with the error:<br>
    /usr/include/qt4/QtCore/qlist.h: In member function ‘QBool QList<T>::contains(const T&) const [with T = KPresence]’:<br>
    /home/fs/compile/telepathy-contact-list/presence-model.cpp:141:37:   instantiated from here<br>
    /usr/include/qt4/QtCore/qlist.h:864:9: error: no match for ‘operator==’ in ‘i->QList<T>::Node::t [with T = KPresence]() == t’<br>
    /usr/include/qt4/QtCore/qlist.h:864:9: note: candidates are:<br>
<br>
And there I am definitely lost. Any help would be appreciated.<br>
<br>
Regards<br>
_______________________________________________<br>
KDE-Telepathy mailing list<br>
<a href="mailto:KDE-Telepathy@kde.org">KDE-Telepathy@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-telepathy" target="_blank">https://mail.kde.org/mailman/listinfo/kde-telepathy</a><br>
</blockquote></div>