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

Qt 6.0.0: qch files installed to wrong location

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.0.0
    • Fix Version/s: 6.0.1, 6.1.0 Alpha
    • Component/s: Build System: CMake
    • Labels:
      None
    • Environment:
      OS: Gentoo Linux amd64 (x86_64)
    • Platform/s:
      Linux/X11
    • Commits:
      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

            Assignee:
            semlanik Alexey Edelev
            Reporter:
            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