On Thu, Sep 1, 2011 at 6:45 AM, Mathias Panzenböck <grosser.meister.mo...@gmx.net> wrote: > Since a few days I can't compile Amarok any more. I get lots of undefined > symbols concerning QGraphicsWebView and QWebSettings. I use Fedora 14 which > ships Qt 4.7.3 and I have qt-webkit-devel installed. > > Maybe there are some errors in some CMakeList.txt files that forget to link > the necessary libraries? How can I find out what's wrong and fix it? I did > run make clean before I run make -j2.
A recent commit by Kevin Funk caused the same problem for me. I don't have my git write access straightened out, so I haven't pushed my change. But attached is my patch to fix the problem. If it works, let us know. Perhaps someone can push it or a better patch before I get my act together. E -- Erik Hovland e...@hovland.org http://hovland.org/
diff --git a/src/context/applets/info/CMakeLists.txt b/src/context/applets/info/CMakeLists.txt index 9e03acd..1808b09 100644 --- a/src/context/applets/info/CMakeLists.txt +++ b/src/context/applets/info/CMakeLists.txt @@ -17,6 +17,7 @@ target_link_libraries(amarok_context_applet_info amaroklib ${KDE4_PLASMA_LIBS} ${KDE4_KDEWEBKIT_LIBS} + ${QT_QTWEBKIT_LIBRARY} ) install(TARGETS amarok_context_applet_info DESTINATION ${PLUGIN_INSTALL_DIR}) diff --git a/src/context/applets/upcomingevents/CMakeLists.txt b/src/context/applets/upcomingevents/CMakeLists.txt index ee11eb8..dfa5c16 100644 --- a/src/context/applets/upcomingevents/CMakeLists.txt +++ b/src/context/applets/upcomingevents/CMakeLists.txt @@ -32,6 +32,8 @@ target_link_libraries(amarok_context_applet_upcomingEvents ${KDE4_PLASMA_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KDEWEBKIT_LIBS} + ${QT_QTWEBKIT_LIBRARY} + ${QT_QTNETWORK_LIBRARY} ) install(TARGETS amarok_context_applet_upcomingEvents DESTINATION ${PLUGIN_INSTALL_DIR}) diff --git a/src/context/applets/wikipedia/CMakeLists.txt b/src/context/applets/wikipedia/CMakeLists.txt index 5724cab..74b851b 100644 --- a/src/context/applets/wikipedia/CMakeLists.txt +++ b/src/context/applets/wikipedia/CMakeLists.txt @@ -19,6 +19,7 @@ target_link_libraries(amarok_context_applet_wikipedia ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS} ${KDE4_KDEWEBKIT_LIBS} + ${QT_QTWEBKIT_LIBRARY} ) install(TARGETS amarok_context_applet_wikipedia DESTINATION ${PLUGIN_INSTALL_DIR})
_______________________________________________ Amarok-devel mailing list Amarok-devel@kde.org https://mail.kde.org/mailman/listinfo/amarok-devel