Hello,
Is it possible to create kopete plugin using cmake?
My build script is:
===========
PROJECT( kopete_recode )
FIND_PACKAGE( KDE3 REQUIRED )
INCLUDE_DIRECTORIES( ${KDE3_INCLUDE_DIRS} ${KDE3_INCLUDE_DIR}/kopete
${KDE3_INCLUDE_DIR}/kopete/ui build )
LINK_DIRECTORIES( ${KDE3_LIB_DIR} )
SET( KOPETERECODE_SRCS kopete-recode.cpp)
KDE3_AUTOMOC( ${KOPETERECODE_SRCS} )
ADD_LIBRARY( kopete_recode SHARED ${KOPETERECODE_SRCS} )
TARGET_LINK_LIBRARIES( kopete_recode ${QT_AND_KDECORE_LIBS} kutils
kdeui kopete -module -Wl,-no-undefined )
===========
It compiles correctly, and I receive kopete_recode.so in result. I've
copied it to /usr/kde/3.5/lib/kde3 (is it ok to use ~/.kde/lib
instead?) and kopete_recode.desktop to ~/.kde/share/services. My
plugin appears in kopete plugins list, however it seems that kopete
doesn't load it at all (I've written bad pointer code to constructor,
but kopete doesn't crash).
Can you please give several hints? Is kopete_recode.la a required file
(I've grabbed one from kopete_history.la with s/history/recode/g)? Is
there any autotools template (I'm completely noob in autotools) for
kopete plugin?
--
Sincerely,
Vladimir "Farcaller" Pouzanov
http://hackndev.com
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel