Qt5 reference documentation: qch files

后端 未结 3 896
独厮守ぢ
独厮守ぢ 2021-02-08 22:24

I want to view Qt reference documentation inside QtAssistant, but the installation of Qt5 did not come with .qch documentation files for Qt libraries.

I have tried to fi

相关标签:
3条回答
  • 2021-02-08 22:37

    Open Assistant (5.0.1/gcc/bin/assistant) and then go to Edit -> Preferences menu.

    There's a Documentation tab. If the list is empty, add the .qch files found in the 5.0.1/gcc/doc/ directory.

    This is how it looks. This is Ubuntu 12.10 as well. Qt 5.0.1 installed with the qt-linux-opensource-5.0.1-x86-offline.run package (388Mb).

    0 讨论(0)
  • 2021-02-08 22:39

    Yes, the official Ubuntu-documentation for Qt5 is very incomplete. You don't have information about nearly any class.

    If you want to use the QtCreator/QtAssistant build from Ubuntu you have to acquire the docs yourself. I did and uploaded these on my personal Mega-account. Here are the docs. I installed the Qt framework with the installer from qt-project.org, grabbed the documentation and inserted it into the software-center-version.

    I don't use QtAssistant as a stand-alone program but integrated in QtCreator. To add the docs to QtCreator go to Tools>Options>Help>Documentation and click add. Then select all .qch files, click apply and enjoy. Maybe try the way as mentioned above.

    0 讨论(0)
  • 2021-02-08 22:59

    After all, you can just download the necessary *.deb file from the store of the Ubuntu packages, and install it on your system. As they wrote here, this package will install the *.qch files in /usr/share/qt5/doc. The pitfall is that you will have to remember that you have done that, since your Ubuntu will not take any records for you.

    0 讨论(0)
提交回复
热议问题