Qt Assistant: programmatically clear cache?

I have a Qt 4.8 based application that runs on Windows 7 and uses Qt Assistant to display documentation. I often had headaches with Qt Assistant related to the need to delete cached files whenever I update the documentation (I continue to read that cache problems have been fixed in various Qt updates, but problems that seem to me to persist) . This happens when I launch Assistant from my application or directly from the command line (using assistant.exe -collectionFile myapp.qhc).

This is a serious problem when I distribute my application to users. It is not normal to expect that they will delete files in caches on their systems.

I could not find anything in the Qt documentation on how to clear user caching files. Is something missing?

I also compiled my Linux application and don't seem to have the same problem. It is just Windows.

+4
source share

All Articles