Page MenuHomePhabricator

Handling of qch files needs some love
Closed, ResolvedPublic

Assigned To
None
Authored By
zelzer
Oct 31 2011, 8:07 PM
Referenced Files
Unknown Object (File)
Oct 31 2011, 8:18 PM
Subscribers

Description

Several issues:

  • The "cacheDirectory" XML tag in the .qhcp file creates a directory outside of the usual application configuration directory.
  • QCH files are registered multiple times and/or old ones remain registered.
  • F1 does not bring up the corresponding help page of the plug-in providing the selected view.

Event Timeline

[2eb92c]: Merge branch 'bug-9961-fix-qch-file-handling'

  • bug-9961-fix-qch-file

Merged commits:

2011-10-31 20:22:29 Sascha Zelzer [4452f0]
Make the context sensitive help (F1) work for CTK plug-ins.


2011-10-31 20:21:52 Sascha Zelzer [eafb22]
Refined handling of (un)registration of .qch files.

The main issue seemed to be the call to process->waitForStarted() which
has been replaced by process->waitForFinished(). This is a little bit
slower at application start-up, but seems to resolve duplicate or missing
.qch entries.


2011-10-31 20:15:38 Sascha Zelzer [e24453]
Unregister legacy BlueBerry plugin .qch files before registering them.


2011-10-31 20:14:44 Sascha Zelzer [6f7de1]
Use absolute path for unregistering .qch files.


2011-10-31 20:13:48 Sascha Zelzer [5c70d6]
Use a directory relative to the original .qhc file for the cache.

[66ffcd]: Merge branch 'bug-9961-fix-qch-file-handling'

  • bug-9961-fix-qch-file

Merged commits:

2011-11-02 17:18:55 Sascha Zelzer [712587]
Make Qt Assistant calls quiet again.