Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-30570

qdoc: warning: "qtcreator" Cannot locate index file for dependency "xxxx" when building docs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • Qt Creator 10.0.0, Qt Creator 12.0.2
    • Documentation
    • None
    • Kubuntu 22.04
      QtCreator Src: 10.0.2
      CMake: 3.28.3
      GCC: 11.4.0
    • Linux/X11

    Description

      Recently, I tried to build QtCreator's Documentation from sources on Kubuntu 22.04 by following the instructions of Wiki to install dependencies. And then, run the following commands:

      curl -L https://download.qt.io/archive/qtcreator/10.0/10.0.2/qt-creator-opensource-src-10.0.2.tar.xz -o qt-creator-opensource-src-10.0.2.tar.xz
      tar -xf qt-creator-opensource-src-10.0.2.tar.xz
      mv qt-creator-opensource-src-10.0.2 qtcreator
      cd qtcreator
      mkdir build && cd build
      cmake -DCMAKE_BUILD_TYPE=Debug -G Ninja -DWITH_DOCS=ON ..
      cmake --build . --target docs

      Although the HTML documentation seems to be built, there are lots of warning messages, including:

      qdoc: warning: "qtcreator" Cannot locate index file for dependency "qtwidgets"
      qdoc: warning: "qtcreator" Cannot locate index file for dependency "qtcmake"
      qdoc: warning: "qtcreator" Cannot locate index file for dependency "qtcore"
      qdoc: warning: "qtcreator" Cannot locate index file for dependency "qtqml"
      qdoc: warning: "qtcreator" Cannot locate index file for dependency "qtquick" 

      How do I solve these qdoc warning messages?

      Do I have to install other necessary dependencies? Or do I have to add some additional arguments to cmake command when configuring the project?

      See the full logs of configuring and build the qtcreator src in the attachments: log-build-qtcreator-docs.txt

      Attachments

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

        Activity

          People

            leenam Leena Miettinen
            hwhsu1231 Haowei Hsu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes