--===============1372556636== Content-Type: multipart/signed; boundary="nextPart24455151.qjc7vv1m9A"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart24455151.qjc7vv1m9A Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 20 August 2005 21:46, Stefan Walkner wrote: > hello, hi! > I would like to try to develop a module for some php addons for kate. > So I searched for google and found a nice tutorial for creating Kate > Plugins: http://kate.kde.org/doc/pluginhowto.php php addons are fine, but just for info: you can not write a php indenter=20 with a plugin (because this is not supported). > So I created a new C++-KatePlugin with KDevelop (named it katephpaddons) > - compiled the created files and then I moved: > -> the katephpaddons.desktop file to /usr/kde/3.4/share/services k, right place. Your .desktop file must contain something like: Type=3DService ServiceTypes=3DKate/Plugin X-KDE-Library=3Dlibkatephpaddonsplugin this is especially important, as it tells the name of the library! X-Kate-Version=3D2.4 Name=3DPHP Tools > -> the libkatephpaddonsplugin.la and libkatephpaddonsplugin.so file > to /usr/kde/3.4/lib (I'm not completely sure about this because howto > says "kde module dir"...) -> but I tried to locate other kateplugins and > found out they are there or in the subdir /usr/kde/3.4/lib/kde3/ not sure myself ;) > -> the plugin_katephpaddons.rc > to /usr/kde/3.4/share/apps/kate/plugins/katephpaddons ok > unfortunately I am not able to see the compiled plugin in kate... Does your .cpp file defines something like: extern "C" { void* init_libkatephpaddonsplugin() { KGlobal::locale()->insertCatalogue("katephpaddons"); return new KatePluginFactory; } } Otherwise the "entry"-function won't be found. > Did I make any mistake? Or what do I have to do to see my plugin and use > it's functionality (I hopefully will add). Try again ;) You can also join #kate on irc.kde.org for live help. Also look at http://www.kate-editor.org, there is also a howto about writin= g=20 indenters. Cheers, =2D-=20 Dominik --nextPart24455151.qjc7vv1m9A Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.9.15 (GNU/Linux) iD8DBQBDB5mCKaoWlv9k7bwRAjcxAJ9dLAcmsCC8dFDVtbpO3bJt7GC/qACggccs FXxFg3tTIMdP0sBzGBk1f6o= =Ri5H -----END PGP SIGNATURE----- --nextPart24455151.qjc7vv1m9A-- --===============1372556636== Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline _______________________________________________ KWrite-Devel mailing list KWrite-Devel@kde.org https://mail.kde.org/mailman/listinfo/kwrite-devel --===============1372556636==--