can't link weather plasmoid

Kevin Krammer kevin.krammer at
Sun Feb 1 13:16:42 GMT 2009

On Saturday 31 January 2009, Michael wrote:
> Hello,
> I suse 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/
> 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

to the target_link_libraries section of the CMakeLists.txt file


Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <>
-------------- next part --------------
This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list