can't link weather plasmoid
Kevin Krammer
kevin.krammer at gmx.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/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
Cheers,
Kevin
--
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: <http://mail.kde.org/pipermail/kde/attachments/20090201/79ba4868/attachment.sig>
-------------- next part --------------
___________________________________________________
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.
More information about the kde
mailing list