Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 5.0.3, Qt Creator 6.0.2, Qt Creator 7.0.2, Qt Creator 8.0.2, Qt Creator 9.0.1
-
None
-
Linux
Description
I have been updating my Arch Linux installation since quite a few years. This means regular new versions of all KDE and Qt libraries, as well as Qt Creator.
All these libraries and updates come with qch files, which are autodetected by Qt Creator. Unfortunately, it seems these autodetected versions are never cleaned up (see screenshot of the "registered documentation" page, and when I now start up Qt Creator, it takes more than a minute where it used to be near instant as it should be (all Qt libraries are loaded on my system anyways).
I checked /usr/share/doc/qt;and there is only one qch file per library, so something in the Qt Creator help system is caching all the old versions of the help files, even though the original qch isn't present anymore.
I went as far as compiling Qt Creator from source in order to profile what was taking up the startup time an turns out it seems to be spending all its time in sqlite3 code (which I suppose is documentation cache?). Note Qt Assistant does not suffer the same slow startup even though it showed the same long list of documentation.
I can now clean up the list manually from the preference page in the screenshot (which also takes almost forever to load), but it would make sense to remove "registered documentation" for qch files that are not available anymore.
2.14.0.0
2.14.0.0