Qt5 reference documentation: qch files

11,697

Solution 1

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).

Solution 2

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.

Share:
11,697
user1958124
Author by

user1958124

Updated on July 25, 2022

Comments

  • user1958124
    user1958124 almost 2 years

    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 find them on the http://qt-project.org but could not find them anywhere. How do I get the Qt5 documentation files ?

    I am using Ubuntu 12.10, I have installed the new qt-library sdk from the qt-project website.

    • hyde
      hyde over 11 years
      Telling what OS you have might be relevant. As a solution, you could get source package and build the docs from that...
    • Deepak
      Deepak over 11 years
      I also faced same problem, then I installed qt5 libraries(5.0.1) and now it works
  • CN_Cabbage
    CN_Cabbage almost 2 years
    I'm on macOS Catalina 10.15.6, and download qt 5.12.0 from download.qt.io/official_releases/qt/5.12/5.12.0 . However, there isn't doc folder under the Qt5.12.0 directory