Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

How do I open .qch files?

Writer Sebastian Wright

I've installed the qt5-doc package but I'm not able to open the .qch files that I find in the /usr/share/qt5/doc/ directory.

Do you know how I can do this?

I've tried using qt5-assistant like this: assistant -collectionFile <help-file>.qhc but that didn't show anything.

1

1 Answer

To read pre-installed documentation you have to run Qt Assistant without arguments assistant and then select needed category from the Contents tab.

To open custom *.qch file you have to:

  1. download it

    cd /tmp
    wget 
  2. create new collection for it

    touch /tmp/my.qhc
  3. register file in the new collection

    assistant -collectionFile /tmp/my.qhc -register /tmp/qwt-6.0.1.qch; 
  4. open Qt Assistant with new collection

    assistant -collectionFile /tmp/my.qhc

    and navigate to the newly created entry in Contents (Qwt User's Guide 6.0.1 in my case).


Sources:

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy