Am Sonntag 01 Februar 2009 14:16:42 schrieb Kevin Krammer: > On Saturday 31 January 2009, Michael wrote: > > I use openSUSE 11.0 with KDE 4.2.0 rel 83.1 and I like to compile a > > weather plasmoid. > > The cmake works fine but the make fails when it comes to the linking: > > > > [100%] Building CXX object CMakeFiles/plasma_applet_weather.dir/config.o > > Linking CXX shared module lib/plasma_applet_weather.so > > CMakeFiles/plasma_applet_weather.dir/plasma-weather.o: In function > > `Plasma_Weather::parseData()': > > /home/michael/Downloads/weather/plasma-weather.cpp:106: undefined > > reference to `QDomDocument::QDomDocument(QString const&Wink 2' > > For some reason it doesn't seem to link to the Qt XML library. > Try adding > ${QT_QTXML_LIBRARY} > > to the target_link_libraries section of the CMakeLists.txt file Thanks! This solved the probelm! Michael ___________________________________________________ This message is from the kde mailing list. Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.