[Ktechlab-devel] Project components dependencies
Julian Bäume
julian at svg4all.de
Sun Feb 14 13:36:10 UTC 2010
hey,
On Sunday 14 February 2010 14:29:13 P Zoltan wrote:
> There is some problem with my system -- I can't get the circuit documents
> in my build. The plugins are built and installed in a folder in my home
> directory, but it looks like they aren't loaded. How could I debug this
> problem? In the menu: settings -> configure ktechlab -> plugins, I can't
> see any plugin related to ktechlab.
Did you run kbuildsycoca4 after make install? This is needed for the
KPluginLoader to recognise the installed desktop file to know about the
plugins you installed. You also need to set the environment variables to also
contain your local ktechlab installation (this is needed for kbuildsycoca4 to
find the desktop file and stuff like that) I described that in the wiki:
https://sourceforge.net/apps/mediawiki/ktechlab/index.php?title=Compiling_the_source
Just scroll to the bottom of the page..
If this doesn't help, run kdebugdialog and select debug from KPluginLoader and
kdevplatform (shell). After that you should be able to see the problem in the
output in a terminal.
Just a short introductions how plugins work:
You create a shared library and a .desktop file. This contains meta-data to
describe your plugin, the shared library, of course, contains object code.
After that KDE needs to be aware of that plugin. This is done by
kbuildsycoca4. Then you will be able to load the .so files with KPluginLoader.
Since we use KDevPlatforms plugin system, this is even more easy. You can ask
the KDevelop::PluginLoader to load plugins. There are some ways to describe,
which plugins you want to load. But more about that later.
bye then
julian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/ktechlab-devel/attachments/20100214/15554507/attachment.sig>
More information about the Ktechlab-devel
mailing list