Issues after building a plugin

christoph at cullmann.io christoph at cullmann.io
Mon May 6 23:08:08 BST 2024


On 2024-05-06 22:57, Chris Adolphi wrote:
> Hello!
> 
> I followed the tutorial on the docs for building a plugin, but the
> tutorial was for kf5 and I’m using kf6 so I changed where it said
> kf5 to kf6. I just copied the color picker plugin and it shows up in
> kate. I was originally using the example from the tutorial but it had
> the same issue I will describe.
> 
>      I’m getting “kf.coreaddons: KPluginFactory could not create a
> KTextEditor::Plugin instance from
> “/Applications/kate.app/Contents/PlugIns/kf6/ktexteditor/katecolorpicker.so
> [1]”
> 
> I’m using Kate version 24.07.70, which is using KDE frameworks
> version 6.1.0. I’m on MacOs with an arm processor.
> 
> Do you know what the issue could be? If you need more info I can
> respond tomorrow morning (EST)
> 
> Thank you.

Hi,

sorry that it doesn't work out of the box.

The directory for the plugin looks fine,
seems there is something not correct with the code.

Can you share that try in some kate.git clone on invent.kde.org?

Greetings
Christoph


> 
> 
> 
> Links:
> ------
> [1] http://kate.app/Contents/PlugIns/kf6/ktexteditor/katecolorpicker.so


More information about the KWrite-Devel mailing list