Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-21482

Allow disabling auto-registration of official auto-detect Qt help files

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.12.0-beta1
    • Qt Creator 4.8.0-beta1
    • Help System
    • None
    • All
    • 3dfa18818240006d1458f8f9104b4b8c336a60e0 (qt-creator/qt-creator/master)

    Description

      Steps to see the issue:
      1) Go to Qt Creator's Preferences -> Help section
      2) Remove all the auto-detected Help entries (picked up from my online installer Qt versions)
      3) Save
      4) Quit Creator
      5) Open and go back to the help settings
      6) Observe that all auto-detected help entries are back

      Reason for feature:
      I have many Qt versions installed with help files (15+) and startup of Creator is very slow because of it.

      Possible UI:
      In Preferences -> Kits -> Qt Versions when selecting a Qt version, show an additional checkbox that allows not registering that particular Qt's version help files.

      Profiling:
      I just ran Instruments on my Qt Creator, and here's some data:

      54.78 s  100.0%	 	Help::Internal::HelpPlugin::delayedInitialize()
      54.78 s  100.0%	 	 Help::Internal::HelpManager::setupHelpManager()
      53.47 s   97.6%	 	  Help::Internal::HelpManager::unregisterDocumentation(QStringList const&)
      52.63 s   96.0%	 	   QHelpEngineCore::documentationFileName(QString const&)
      51.80 s   94.5%	 	    QHelpEngineCorePrivate::setup()
      34.90 s   63.7%	 	     QHelpDBReader::init()
      12.07 s   22.0%	 	     QHelpEngineCorePrivate::clearMaps()
      1.09 s    1.9%	 	     QFileInfo::absoluteFilePath() const
      
      54.78 s  100.0%	 	Help::Internal::HelpPlugin::delayedInitialize()
      54.78 s  100.0%	 	 Help::Internal::HelpManager::setupHelpManager()
      53.47 s   97.6%	 	  Help::Internal::HelpManager::unregisterDocumentation(QStringList const&)
      52.63 s   96.0%	 	   QHelpEngineCore::documentationFileName(QString const&)
      51.80 s   94.5%	 	    QHelpEngineCorePrivate::setup()
      34.90 s   63.7%	 	     QHelpDBReader::init()
      28.81 s   52.5%	 	      QSqlDatabase::open()
      28.76 s   52.5%	 	       QSQLiteDriver::open(QString const&, QString const&, QString const&, QString const&, int, QString const&)
      28.24 s   51.5%	 	        openDatabase
      20.00 s   36.5%	 	         sqlite3BtreeOpen
      15.80 s   28.8%	 	          sqlite3OsOpen
      1.71 s    3.1%	 	                  sqlite3OsFullPathname
      1.02 s    1.8%	 	                  sqlite3PagerReadFileheader
      
      

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-21482
        # Subject Branch Project Status CR V

        Activity

          People

            jkobus Jarek Kobus
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes