Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.0.0
-
None
-
OS: Gentoo Linux amd64 (x86_64)
-
-
0f38f69d4493d44ef65c4e1ab52f990241139c6a (qt/qtbase/dev) 062d42e355693a6d66bbd1ffb897cc85e69f41ac (qt/qtbase/6.0)
Description
When installing Qt 6.0.0 built using cmake with "-DINSTALL_DOCDIR=/usr/share/qt6-doc" option, generated qch documentation files are installed into two locations. For example, qdoc.qch is installed as:
/usr/share/qt6-doc/qdoc/qdoc.qch
/usr/share/qt6-doc/qdoc.qch/qdoc.qch
When Qt 5.15.1 is installed via qmake with "-docdir /usr/share/qt5-doc" option, same qdoc.qch is installed as:
/usr/share/qt5-doc/qdoc.qch
I think, for Qt 6 installed using cmake it should behave same way as it did for Qt 5 and be installed only as:
/usr/share/qt6-doc/qdoc.qch (i.e. ${INSTALL_DOCDIR}/qdoc.qch for qdoc.qch)
With current installation locations, qt6-based assistant from qttools-6.0.0 can't find installed documentation. If it's moved into expected location, assistant is able to find documentation. Maybe, instead of moving documentation files, assistant has to be updated to look for files in new locations.
Attachments
For Gerrit Dashboard: QTBUG-89769 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
329174,3 | Fix qch install path | dev | qt/qtbase | Status: MERGED | +2 | 0 |
329228,2 | Fix qch install path | 6.0 | qt/qtbase | Status: MERGED | +2 | 0 |