----------------------------------------------------------- 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 > >
_______________________________________________ Amarok-devel mailing list Amarok-devel@kde.org https://mail.kde.org/mailman/listinfo/amarok-devel