Uploaded image for project: 'Qt Creator'
  1. Qt Creator

Registered documentation never cleaned up, program startup takes very long



    • 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
    • Help System
    • None
    • Linux
    • Linux/Wayland, Linux/X11, Linux/Other display system


      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.


        No reviews matched the request. Check your Options in the drop-down menu of this sections header.



            jkobus Jarek Kobus
            blablabla Ruben Van Boxem
            0 Vote for this issue
            1 Start watching this issue



              Gerrit Reviews

                There are no open Gerrit changes