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

cross-compilation requires qdoc as a tool in the host-build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4: Low
    • None
    • 6.6
    • None

    Description

      My native (host) build does not build qdoc because of intentionally missing clang-devel libraries.

      Then I configure my cross build, which complains that it can't find host-built qdoc and exits with error:

      -- Configuring submodule 'qttools'
      CMake Error at qtbase/cmake/QtToolHelpers.cmake:623 (message):
        Failed to find the host tool "Qt6::qdoc".  It is part of the Qt6ToolsTools
        package, but the package did not contain the tool.  Make sure that the host
        module Tools was built with all features enabled (no explicitly disabled
        tools).
      Call Stack (most recent call first):
        qtbase/cmake/QtToolHelpers.cmake:63 (qt_internal_find_tool)
        qttools/src/qdoc/qdoc/CMakeLists.txt:19 (qt_internal_add_tool)
      

      Why does a cross build require a native-built qdoc? Can I skip this requirement somehow?

      Attachments

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

        Activity

          People

            qtbuildsystem Qt Build System Team
            jimis Dimitrios Apostolou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes