Develop Kate plugin (for Ollama integration)
Daniele "Mte90" Scasciafratte
mte90net at gmail.com
Mon Mar 24 09:49:30 GMT 2025
Hi,
Yeah I saw the issue with qt5/6 but in the meantime I want to do that plugin...
I am trying KAppTemplate with KTextEditor plugin :-)
Daniele Scasciafratte - OpenSource MultiVersal Guy
daniele.tech <https://daniele.tech> - @Mte90Net <https://twitter.com/Mte90net> - GitHub <https://github.com/Mte90> - Italian Linux Society council member <http://www.ils.org/> - Mozillian <https://people.mozilla.org/p/Mte90>
Ex Mozilla Reps/TechSpeakers, (Ex) WordPress Core Contributor <https://profiles.wordpress.org/mte90>,
LibreItalia member <http://www.libreitalia.it/>, Wikimedia Italia member <https://www.wikimedia.it/> and ILS Rieti founder <https://rieti.ils.org/>.
Il 23/03/25 10:09, Kåre Särs ha scritto:
> Hi,
>
> Nice that you are interested in working on stuff with Kate :)
>
> Unfortunately for you on Debian Sid, all Kate development has moved to Qt6 and
> KF6 over a year ago. Any changes you would need to upstream would have to go
> to the Qt6 version...
>
> That said you could test to get a plugin working by using KAppTemplate to
> create a Kate plugin. With that template it should be possible to install the
> plugin to the right system location with CMake
>
> mkdir build
> cd build
> cmake -DCMAKE_INSTALL_PREFIX=/usr ../
> cmake --build .
> sudo cmake --build . --target install
>
> Hope that helps,
>
> Br,
> Kåre
>
> On Tuesday, 18 March 2025 16.55.34 Eastern European Standard Time Daniele
> "Mte90" Scasciafratte wrote:
>> Hi Everyone,
>>
>> I am on Debian Sid, and I am not very skilled with C++ but I am trying to do
>> a plugin to integrate Ollama inside Kate.
>>
>> There ishttps://github.com/arturbac/kdevcxx_with_ai but is only for OpenAI
>> and I have issues on compiling (already reported) and the dev are not very
>> responsive.
>>
>> Followinghttps://develop.kde.org/docs/apps/kate/plugin/ I was able to do
>> https://github.com/Mte90/kate-ollama
>>
>> The problem is that on installing the plugin path is "-- Installing:
>> /usr/lib/x86_64-linux-gnu/qt5/plugins/ktexteditor/kate-ollama.so" but Kate
>> doesn't load it.
>>
>> The plugin of course is not complete as I want to do some testing and
>> probably improve the UX but if I am not able to try it...
>>
>> What I am missing?
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20250324/9a2e4128/attachment-0001.htm>
More information about the KWrite-Devel
mailing list