Re: can't link weather plasmoid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message 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.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux