Review Request: SoK - Unit Test : core/meta/Meta (MetaCapability)
Sven Krohlas
sven at asbest-online.de
Tue Jun 19 13:20:59 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105291/#review14883
-----------------------------------------------------------
Ship it!
You need to add ${QT_QTGUI_LIBRARY} to the target_link_libraries: target_link_libraries( testmetacapability ${KDE4_KDECORE_LIBS} ${QT_QTTEST_LIBRARY} ${QT_QTGUI_LIBRARY} amarokcore )
to avoid:
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: CMakeFiles/testmetacapability.dir/TestMetaCapability.o: undefined reference to symbol 'QAction::QAction(QObject*)'
/usr/lib/gcc/i586-suse-linux/4.6/../../../../i586-suse-linux/bin/ld: note: 'QAction::QAction(QObject*)' is defined in DSO /usr/lib/libQtGui.so.4 so try adding it to the linker command line
/usr/lib/libQtGui.so.4: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [tests/testmetacapability] Fehler 1
make[1]: *** [tests/core/meta/CMakeFiles/testmetacapability.dir/all] Fehler 2
And then ship it. :)
- Sven Krohlas
On June 18, 2012, 2:09 p.m., Jasneet Bhatti wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105291/
> -----------------------------------------------------------
>
> (Updated June 18, 2012, 2:09 p.m.)
>
>
> Review request for Amarok, Bart Cerneels, Matěj Laitl, and Sven Krohlas.
>
>
> Description
> -------
>
> Unit Test for class MetaCapability of core/meta/Meta
>
>
> Diffs
> -----
>
> tests/core/meta/CMakeLists.txt 0e85d83
> tests/core/meta/TestMetaCapability.h PRE-CREATION
> tests/core/meta/TestMetaCapability.cpp PRE-CREATION
>
> Diff: http://git.reviewboard.kde.org/r/105291/diff/
>
>
> Testing
> -------
>
> Unit Test builds and runs as desired
>
>
> Thanks,
>
> Jasneet Bhatti
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20120619/3f7129e4/attachment.html>
More information about the Amarok-devel
mailing list