Mardi, le 1 février 2011, à 16:43, Maksim Orlovich a écrit: > > erf; two dependencies in kdelibs on KTextEditor. ok, that makes it a no > > go then ... hm.. looking at it, only khtml has a build-time dependency > > on it. if > > the texteditor part isn't available (or the source of the crash even? :) > > what > > does the debugger do at that point? > > Pop up an error message and abort execution, as it expects it to be > part of kdelibs. > Which is coincidentally very similar to what KTextEditor tutorials > suggest --- see > http://techbase.kde.org/Development/Tutorials/Kate/KTextEditor_Example > (except it needs katepart in specific)
Uh, that is old-fashioned. Should instead ask the user whether she wants to install the proper text editor module. Isn't there some simple standard api for that these days? Cheers Friedrich -- Desktop Summit 2011 - Berlin, Germany - August 6-12th - www.desktopsummit.org