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

Generalize QT_BUILD_TOOLS_WHEN_CROSSCOMPILING into QT_FORCE_BUILD_TOOLS

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: P4: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:
      None

      Description

      When cross-compiling Qt, the tools are not built by default and instead they are searched for in a host Qt installation.

      One can force cross-compilation of tools for the target device by specifying -DQT_BUILD_TOOLS_WHEN_CROSSCOMPILING=ON.

      QTBUG-95099 describes a use case of searching for pre-existing tools in a host Qt installation even when doing a regular host / desktop build.

      An extension of that would be to also force building of the tools in that situation, even when using the tools of the pre-existing host Qt.
      Currently that's not possible.
      One way would be to generalize QT_BUILD_TOOLS_WHEN_CROSSCOMPILING to QT_FORCE_BUILD_TOOLS instead.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              qtbuildsystem Qt Build System Team
              Reporter:
              alexandru.croitor Alexandru Croitor
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes