Remove KTextWidgets dependency from KXMLGui
Open, Needs TriagePublic

Description

KTextWidgets is only used for KTextEdit in KBugReport. Replace it with QTextEdit to get rid of the dep

dfaure added a subscriber: dfaure.Nov 24 2019, 9:17 AM

Easy to do http://www.davidfaure.fr/2019/kxmlgui_remove_ktextwidgets.diff but this breaks compilation of tests/krichtexteditor/CMakeLists.txt

That's a GUI test program for KRichTextEditor (which lives in KTextWidgets), but since the test program uses KXmlGui, it lives in KXmlGui.
Solution 1: we move it to *somewhere* which depends on both.... Any ideas?
Solution 2: we port it away from kxmlgui but that's a bit sad, it is showing how the integration between the two works, which is how apps would most likely use krichtexteditor.

Maybe quietly find KTextWidgets in the tests and only include the tests if found?

nicolasfella moved this task from Backlog to In Progress on the KF6 board.Nov 30 2019, 2:49 PM
nicolasfella moved this task from In Progress to Done on the KF6 board.Dec 1 2019, 4:36 PM
vkrause added a subscriber: vkrause.Dec 2 2019, 9:25 AM

Thanks! Still needs to be removed from the dependency meta data file I think.

ervin moved this task from Done to Announced on the KF6 board.Dec 30 2019, 9:59 AM