Bug 332404

Summary: Import *.qch from directory
Product: [Applications] kdevelop Reporter: Bastian <bastian.leyer>
Component: Documentation viewerAssignee: kdevelop-bugs-null
Status: CONFIRMED ---    
Severity: wishlist CC: kfunk
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: a sample implementation for specifying an qch search dir

Description Bastian 2014-03-21 14:15:01 UTC
We need the possibility to specify an search directory for qch files. Our libraries are deployed with one ore more qch files. The qch files are installed under /usr/local/share/company/library_name/version/help. It would be nice to specify the directory /usr/local/share/company and KDevelop searches all qch files.

Reproducible: Always
Comment 1 Bastian 2014-03-21 14:21:01 UTC
Created attachment 85666 [details]
a sample implementation for specifying an qch search dir

This is a quick implementation for searching qch files in an specified directory. The directory can be specified in the QTHelp Dialog. KDevelop search the qch files on startup. The imported qch files are NOT added to the manual documentation list. The default icon is the qtlogo an the name is the basename of the file.
Comment 2 Milian Wolff 2014-03-21 14:41:18 UTC
Please be so kind and put the patch up for review on reviewboard.kde.org

Thanks!
Comment 3 Bastian 2014-03-24 06:32:08 UTC
Patch uploaded. 
https://git.reviewboard.kde.org/r/117014/
Comment 4 Kevin Funk 2014-12-04 13:50:47 UTC
Patch integrated, but it's not really intuitive to work with.

@Bastian: Would you be willing to work on another iteration? For instance, I'm proposing to let the "Choose Dir" dialog instantly scan the directory and load the qch files. That way, you don't need to restart KDevelop.

Feedback welcome