Bug 332404 - Import *.qch from directory
Summary: Import *.qch from directory
Status: CONFIRMED
Alias: None
Product: kdevelop
Classification: Applications
Component: Documentation viewer (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-21 14:15 UTC by Bastian
Modified: 2014-12-04 13:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
a sample implementation for specifying an qch search dir (11.90 KB, patch)
2014-03-21 14:21 UTC, Bastian
Details

Note You need to log in before you can comment on or make changes to this bug.
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