Missing documentation for Qt5 on Ubuntu 13.04

10,110

Solution 1

This is answer

sudo apt-get install qt5-doc

Solution 2

There is a qt5-doc package, but it is on a separate repository.

To install it, do:

sudo add-apt-repository ppa:ubuntu-sdk-team/ppa 
sudo apt-get update
sudo apt-get install qt5-doc

Then you must declare it in Qt Assistant:

Edit => Preferences => Documentation => Add

and then select file

/usr/share/qt5/doc/qch/qtdoc.qch

Yes, Qt5 integration in Ubuntu seems to be half baked.

Best,

Solution 3

Yeah, 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 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.

To add the docs to QtCreator go to Tools>Options>Help>Documentation and click add. Then select all .qch files, click apply and enjoy your new help.

Share:
10,110

Related videos on Youtube

Admin
Author by

Admin

Updated on September 18, 2022

Comments

  • Admin
    Admin almost 2 years

    I use Qt Creator for building applications and recently I decided to upgrade my Ubuntu from 12.10 to 13.04 and upgrade my current project from Qt4 to Qt5. The problem is that the Help section provides no documentation for Qt5. For Qt4 I used to have the package qt4-doc, but there's no qt5-doc or anything similar.

    How to install the Qt5 documentation?

  • Nathan Osman
    Nathan Osman almost 11 years
    I've done that but something must be missing since searching for something basic like QThread turns up no results.
  • user130564
    user130564 almost 11 years
    That's correct, and the "All classes" page does not list any class. I agree something must be missing from my "solution" above.