Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Comments on How to open documentation in qch format in Debian based systems?

Parent

How to open documentation in qch format in Debian based systems?

+1
−0

I wanted to download C++ documentation and found cppreference-doc-en-qch in Debian's archive:

Description: C and C++ standard library reference (English, Qt Help variant) A version of online C and C++ standard library reference manual available at en.cppreference.com, suitable for viewing offline. . This package contains a Qt Help book.

dpkg -L cppreference-doc-en-qch reveals only /usr/share/cppreference/doc/qch/cppreference-doc-en-cpp.qch, and xdg-open doesn't know how to open it.

How do I actually read this piece of documentation I just installed, or, in general, qch files?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

Post
+0
−0

A web search turned up the Qt online documentation, which suggests using Qt Assistant to organize and read help files packaged as *.qch files.

That looks to be packaged by Debian as assistant-qt6. Alternatively, cppreference-doc-en-qch depends on qttools5-dev-tools which in turn pulls in qt5-assistant which provides /usr/lib/qt5/bin/assistant.

As an alternative in this specific case, Debian also packages what looks to be that same documentation in HTML format as cppreference-doc-en-html.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

Although the link explains how in "Adding documentation" — with a small mistake, by the use of "Insta... (1 comment)
Although the link explains how in "Adding documentation" — with a small mistake, by the use of "Insta...
Quasímodo‭ wrote 5 months ago

Although the link explains how in "Adding documentation" — with a small mistake, by the use of "Install" instead of "Add" —, to make the answer self-contained I suggest adding those instructions to it.

By the way, my answer was pointing to qtchooser. It does provide the /usr/bin/assistant link but it is just an useless symlink without a qt*-assistant package, thank you for that.