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
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________ Ktechlab-devel mailing list Ktechlab-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ktechlab-devel