Qt Assistant displays old helpsets alongwith the new ones
Is there a way clean all previously registered help files from a collection file and register a new one that shares the same name with the previous ones but is newer? I am trying to fix this issue because we generate a doc build everyday and thus, end up seeing old and new helpsets in the Qt Assistant window.
- Create a helpset with today's date embedded in the namespace (productname.2012.06.2403) and integrate with the product build.
- Install the build and launch the help as needed. All works fine until here.
- Uninstall the product.
- Install newer version and launch the new help.
After this, most of the times you will see old as well as the new help in the Qt Assistant window. That is, duplicate entries in Contents window and both (or even three or four previous versions) older and newer version of help registered in the documentation tab in Preferences window.
To fix this, we even tried changing cachedirectory variable but even that did not help. Do you have any suggestions on how can we fix this issue?
One way is to clean the cachedirectory, but I am not sure how tough or easy that is.