For more flexibility in handling the embedding of plugin UIs, plugins should not be given direct access to the guiFactory() of the main window. Instead, plugins should simply provide a KXMLGUIClient, and let the hosting application take care of embedding this as appropriate.
- More details: https://marc.info/?l=kwrite-devel&m=157832385322519&w=1
- Patch / suggestion: branch "kf6/plugin_api_tier1" in ktexteditor and kate repos