From kde-devel Wed Nov 04 22:23:13 2009 From: "Aaron J. Seigo" Date: Wed, 04 Nov 2009 22:23:13 +0000 To: kde-devel Subject: Re: Dolphin: plugin loading problem Message-Id: <200911041423.14816.aseigo () kde ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=125737344032508 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1373034348==" --===============1373034348== Content-Type: multipart/signed; boundary="nextPart3056014.f6idFa121M"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart3056014.f6idFa121M Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On November 4, 2009, Peter Penz wrote: > I checked http://techbase.kde.org/Development/Tutorials/Services/Plugins > but don't understand how to deal with "The Plugin Factory Macro" and gue= ss > that is missing in my SVN plugin... sth like this in your plugin's .cpp file: K_PLUGIN_FACTORY(factory, registerPlugin<$CLASSNAME>();)=20 K_EXPORT_PLUGIN(factory($LIBRARYNAME)) replacing the $variables with the respective values (library name doesn't=20 include the .so suffix of course :) =2D-=20 Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks --nextPart3056014.f6idFa121M Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkrx/tIACgkQ1rcusafx20PwfACfetLS5lHXffV4v16jONYTi9Qv T3EAoKFYEaRtAycldhcVd/3U11CSKoEa =MCRT -----END PGP SIGNATURE----- --nextPart3056014.f6idFa121M-- --===============1373034348== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============1373034348==--