plugin development help
agander93 at gmail.com
Tue Mar 22 08:15:55 UTC 2016
There may be more than that required. There was some discussion here a while back. You'll need to search the list.Allan
Sent from my Samsung device
-------- Original message --------
From: Przemek Kamiński <cgenie at gmail.com>
Date: 22/03/2016 05:32 (GMT+00:00)
To: For KMyMoney development <kmymoney-devel at kde.org>
Cc: kmymoney-devel at kde.org
Subject: Re: plugin development help
This is what my question was about. I do have the rc file (see the repo I linked to). Problem is that I don't want to install it into system directory when developing. I tried to run it with
but with no success.
Sent using CloudMagic Email
On Mon, Mar 21, 2016 at 11:48 PM, aga <agander93 at gmail.com> wrote:
On 21/03/16 19:47, Przemysław Kamiński wrote:
> I would like to add Lua scripting support to KMyMoney as a plugin. This
> is what I have as a draft:
> One question -- when I compile KMyMoney and install it into some /tmp
> directory -- does the kmymoney bin have to be executed in some special
> way? I mean I add an .rc file to add 'Lua...' to the Tools menu, I guess
> it has to find that .rc file somehow. If I just run
> /tmp/usr/bin/kmymoney the menu entry is not there.
Where .rc files get installed is specified in the CMakeLists.txt file.
What is needed is something on the lines of
<kpartgui name="kmymoneyplugin-csvimporter" version="0">
<Menu name="import" append="import_merge">
<Action name="file_import_csv" />
", which you'd need to adjust.
There are some tutorials like
I haven't tried this for some while so cannot guarantee all is OK, but
it should give you a start.
Also, have a look at the csvimporter plugin, which I cobbled together
from various sources.
Read them thoroughly to get an understanding. You know where we are.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the KMyMoney-devel