Plugin problem

Lorenzo Fini fini at fi.infn.it
Tue Aug 2 16:02:21 BST 2005


On Monday 01 August 2005 15:11, Kaiser, Volker wrote:
> Hello,
> 
> I have problems installing a plugin. AFAIK the following files must be 
available for kdevelop to find and load the plugin:
> 
> $KDEDIR/share/apps/kdevfoo/kdevfoo.rc (see below)
> $KDEDIR/share/services/kdevfoo.desktop (see below)
> $KDEDIR/lib/kde3/libkdevfoo.so
> 
> All these files are there, KDEDIR and KDEDIRS have the right paths but "foo" 
does not appear in "Project->Project Options->Plugins". 
> Can anybody tell me what is missing?
> 
> Thank you in advance!
> Volker
> 
> 
> 
> 1) $KDEDIR/share/apps/kdevfoo/kdevfoo.rc:
> 
> <!DOCTYPE kpartgui>
> <kpartplugin name="foo" library="libfooplugin" version="1">
> <MenuBar>
>  <Menu name="tools"><Text>&Tools</Text>
>   <Action name="plugin_action"/>
>  </Menu>
> </MenuBar>
> <ToolBar name="extraToolBar">
>   <Action name="plugin_action"/>
> </ToolBar>
> </kpartplugin>
> 
> 
> 2) $KDEDIR/share/services/kdevfoo.desktop
> 
> [Desktop Entry]
> Encoding=UTF-8
> Type=Service
> Exec=blubb
> Name=KDevfoo
> Name[sv]=KDevelop foo
> Name[ta]=கெடெவ்foo
> Name[xx]=xxKDevfooxx
> GenericName=foo Plugin
> GenericName[br]=Lugent foo
> GenericName[da]=foo plugin
> GenericName[de]=Miniprogramm foo
> GenericName[es]=Plugin foo
> GenericName[et]=foo plugin
> GenericName[fr]=Module de foo
> GenericName[ga]=Breiseán foo
> GenericName[hu]=foo-bővítőmodul
> GenericName[it]=Plugin foo
> GenericName[nl]=foo-plugin
> GenericName[pl]=Wtyczka foo
> GenericName[pt]='Plugin' foo
> GenericName[pt_BR]=Plugin do foo
> GenericName[ru]=Модуль foo
> GenericName[sv]=foo insticksprogram
> GenericName[uk]=Втулок foo
> GenericName[xx]=xxfoo Pluginxx
> Comment=foo Description
> Comment[br]=Deskrivadur foo
> Comment[da]=foo beskrivelse
> Comment[de]=foo Beschreibung
> Comment[es]=Descripción de foo
> Comment[et]=foo kirjeldus
> Comment[eu]=foo deskribapena
> Comment[fr]=Description de foo
> Comment[hu]=foo leírása
> Comment[it]=Descrizione foo
> Comment[nl]=foo omschrijving
> Comment[pl]=Opis foo
> Comment[pt]=Descrição de %{APPNAME$}
> Comment[pt_BR]=Descrição do foo
> Comment[ru]=Описание foo
> Comment[sv]=foo beskrivning
> Comment[uk]=Опис foo
> Comment[xx]=xxfoo Descriptionxx
> Icon=kdevelop
> ServiceTypes=KDevelop/Plugin
> 
> X-KDevelop-Plugin-Version=1
> X-KDevelop-Plugin-Homepage=
> X-KDevelop-Plugin-BugsEmailAddress=kaiser at scs-4
> X-KDevelop-Plugin-Copyright=(C) by Volker
> 
> X-KDevelop-Args=
> 
> X-KDevelop-Scope=Project
> X-KDE-Library=libkdevfoo
> X-KDevelop-Version=3
> X-KDevelop-Properties=
> 
> 
> 

I think you have to put something in  X-KDevelop-Properties, for example:
X-KDevelop-Properties=CompiledDevelopment

In general you can give a look to the debug output of kdevelop and search for 
lines beginning with "=============   Query for Profile:"  Here you can have 
an idea if your plugin fulfills any of the conditions required by the plugin 
loader of kdevelop.

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list