D10856: Make tests compile, except one
Michael Heidelbach
noreply at phabricator.kde.org
Mon Feb 26 11:48:42 UTC 2018
michaelh added inline comments.
INLINE COMMENTS
> iohandlertest.cpp:32
> +//FIXME: Does not link with DocId in ../iohandler.h. Why?
> #include "../iohandler.h"
> +
Error is:
[ 34%] Linking CXX executable ../../../../bin/extractorIOTest
CMakeFiles/extractorIOTest.dir/iohandlertest.cpp.o: In function `Baloo::IOHandlerTest::testInput()':
~/src/frameworks/baloo-flex/src/file/extractor/autotests/iohandlertest.cpp:72: undefined reference to `Baloo::DocumentId::~DocumentId()'
CMakeFiles/extractorIOTest.dir/iohandlertest.cpp.o: In function `bool QTest::qCompare<Baloo::DocumentId, unsigned long long>(Baloo::DocumentId const&, unsigned long long const&, char const*, char const*, char const*, int)':
/usr/include/qt5/QtTest/qtestcase.h:397: undefined reference to `Baloo::DocumentId::operator unsigned long long() const'
CMakeFiles/extractorIOTest.dir/__/iohandler.cpp.o: In function `Baloo::IOHandler::nextId()':
~/src/frameworks/baloo-flex/src/file/extractor/iohandler.cpp:47: undefined reference to `Baloo::DocumentId::DocumentId(unsigned long long)'
~/src/frameworks/baloo-flex/src/file/extractor/iohandler.cpp:50: undefined reference to `Baloo::DocumentId::operator unsigned long long() const'
collect2: error: ld returned 1 exit status
fileextractor is special. It is a daemon and not part of the lib.
REPOSITORY
R293 Baloo
REVISION DETAIL
https://phabricator.kde.org/D10856
To: michaelh, adridg, #baloo, #frameworks
Cc: michaelh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180226/1796c2cb/attachment.html>
More information about the Kde-frameworks-devel
mailing list