Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-89769

Qt 6.0.0: qch files installed to wrong location

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.0.1, 6.1.0 Alpha
    • 6.0.0
    • Build System: CMake
    • None
    • OS: Gentoo Linux amd64 (x86_64)
    • Linux/X11
    • 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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            semlanik Alexey Edelev
            i.dark_templar i.dark_templar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes