c++ - How to search non-html files with Qt's QHelpSearchEngine -
my application using several qt files (qch) produced different teams. let's there's good.qch constructed html files extension .html, , bad.qch constructed html files extension .xml.
the application using qhelpengine, qhelpsearchengine , related classes display , search help. problem search never finds hits in bad.qch; seems good.qch searched.
i've tried renaming .xml files .html, without modifying content in way. on modified bad.qch, search works perfectly.
is there way make qt framework search files other *.html, or have convince "team bad" rename files when creating qch?
i've read through source code of qhelpsearchengine , related classes (qt 4.8.4) , turns out there's hardcoded list of extensions search: .html, .htm , .txt. there's no mechanism search other files, @ least in qt 4.8.4.
Comments
Post a Comment