can't link weather plasmoid

Kishore kitts.mailinglists at gmail.com
Mon Feb 2 03:16:40 GMT 2009


On Monday 02 Feb 2009 2:18:28 am Michael wrote:
> 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!

I suggest you report this to the author so it can be corrected upstream too if 
necessary.
-- 
Cheers!
Kishore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde/attachments/20090202/1d69495a/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