[KDE/Mac] [Kde-pim] knode doesn't link on os x.
Orville Bennett
illogical1 at gmail.com
Tue Feb 10 05:22:09 CET 2009
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} )
install(TARGETS kleopatra_bin ${INSTALL_TARGETS_DEFAULT_ARGS})
>
> --
> Adriaan de Groot, KDE quality team, KDE4-Solaris
Thanks for the hint.
>
> http://solaris.kde.org/
More information about the kde-mac
mailing list