Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt5 reference documentation: qch files

Tags:

qt

qt-creator

qt5

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.

like image 338
user1958124 Avatar asked Jan 08 '13 12:01

user1958124


2 Answers

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

like image 170
Diego Schulz Avatar answered Sep 19 '22 12:09

Diego Schulz


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.

like image 37
Nick Lehmann Avatar answered Sep 21 '22 12:09

Nick Lehmann