[Kde-pim] knode doesn't link on os x.

Thomas McGuire mcguire at kde.org
Tue Feb 10 09:41:23 GMT 2009


Hi,

On Tuesday 10 February 2009 05:22:09 Orville Bennett wrote:
> On Feb 2, 2009, at 6:44 AM, Adriaan de Groot wrote:
> > On Saturday 31 January 2009 01:18:13 pm Orville Bennett wrote:
> >> A similar problems exists for kleopatra, libkleopatraclient, knode
> >> and
> >> kmail (i stopped trying after kmail). Would this have something to do
> >> with the reduced link interface?
> >>
> >> qt4-mac/lib -framework QtDBus -F/opt/local/libexec/qt4-mac/lib -
> >> framework QtCore -lpthread -framework Carbon /opt/local/lib/
> >> libmailtransport.4.2.0.dylib ../lib/libkpgp.4.2.0.dylib /opt/local/
> >> lib/
> >> libkde3support.4.2.0.dylib /opt/local/lib/libkparts.4.2.0.dylib /opt/
> >> local/lib/libkpty.4.2.0.dylib /opt/local/lib/libkfile.4.2.0.dylib /
> >> opt/
> >> local/lib/libkio.5.2.0.dylib /opt/local/lib/libsolid.4.2.0.dylib /
> >> opt/
> >> local/lib/libkdeui.5.2.0.dylib
> >> Undefined symbols:
> >>    "QWidget::showEvent(QShowEvent*)", referenced from:
> >>        vtable for KNMainWindowin knode.o
> >>        construction vtable for KXmlGuiWindow-in-KNMainWindowin
> >> knode.o
> >
> > Sort of. I'd guess that KNode is missing a target_link_library(
> > ${QT_QTUI_LIBRARY} ) in the cmakelists, because it's not showing up
> > in the
> > link line there (note QtCore and QtDBus do).
>
> Howdy. Finally got around to patching this. With this patch kleopatra
> compiles properly. The other apps compile fine after a make clean.
>
> --- ../../kdepim-4.2.0/kleopatra/CMakeLists.txt~	2008-12-04
> 03:35:39.000000000 -0500
> +++ ../../kdepim-4.2.0/kleopatra/CMakeLists.txt	2009-02-09
> 23:11:32.000000000 -0500
> @@ -274,7 +274,7 @@
>     set( KDE4_KCMUTILS_LIBS ${KDE4_KUTILS_LIBS} )
>   endif ( NOT KDE4_KCMUTILS_LIBS )
>
> -target_link_libraries(kleopatra_bin ${_kleopatra_extra_libs} kleo $
> {QGPGME_LIBRARIES} ${KDE4_KDEUI_LIBS} ${KDE4_KMIME_LIBRARY} $
> {KDE4_KCMUTILS_LIBS} ${_kleopatra_uiserver_extra_libs} )
> +target_link_libraries(kleopatra_bin ${_kleopatra_extra_libs} kleo $
> {QGPGME_LIBRARIES} ${KDE4_KDEUI_LIBS} ${KDE4_KMIME_LIBRARY} $
> {KDE4_KCMUTILS_LIBS} ${QT_QTNETWORK_LIBRARY} $
> {_kleopatra_uiserver_extra_libs} )

I think I already fixed that in r922045 
(http://websvn.kde.org/?view=rev&revision=922045).
Can you please check if that works?
QT Network only seems to be needed when an useable Assaun has been found.

I'll backport this to KDE 4.2.1.

Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20090210/7d44c009/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list