Better report target vs host differences
authorPino Toscano <toscano.pino@tiscali.it>
Sun, 10 May 2026 08:57:35 +0000 (10:57 +0200)
committerPino Toscano <pino@debian.org>
Sun, 10 May 2026 08:57:35 +0000 (10:57 +0200)
commitec82b49dfdaab311a3dfcfdbcc4cbace26552417
tree64035026218b0a0059b33fab857545992ba03b68
parenta40bc0adb51aea0cab133b15d55311201365acd6
Better report target vs host differences

Last-Update: 2026-03-07
Origin: https://code.qt.io/cgit/qbs/qbs.git/commit/?id=a88a68210ef4b9ad9188d2c7897f6216439a4254
Applied-Upstream: 3.3.0, commit:a88a68210ef4b9ad9188d2c7897f6216439a4254

When reporting that the target and the host are not detected as the
same (typically in tests, and also in one example), print the actual
values of platform+architecture for both target and host.

This does not change the behaviour, and rather helps debugging things
in case e.g. tests are skipped because of target vs host mismatch
(reported as cross-compiling).

Gbp-Pq: Name upstream_Better-report-target-vs-host-differences.patch
70 files changed:
examples/code-generator/code-generator.qbs
tests/auto/api/testdata/explicitly-depends-on/explicitly-depends-on.qbs
tests/auto/api/testdata/process-result/process-result.qbs
tests/auto/api/testdata/timeout-process/timeout.qbs
tests/auto/api/testdata/tool-in-module/use-within-project/use-within-project.qbs
tests/auto/blackbox/testdata-baremetal/BareMetalApplication.qbs
tests/auto/blackbox/testdata-java/java/vehicles.qbs
tests/auto/blackbox/testdata-joblimits/job-limits-init/job-limits-init.qbs
tests/auto/blackbox/testdata-providers/module-providers/module-providers.qbs
tests/auto/blackbox/testdata-qt/auto-qrc/auto-qrc.qbs
tests/auto/blackbox/testdata-qt/forced-moc/forced-moc.qbs
tests/auto/blackbox/testdata-qt/lrelease/lrelease.qbs
tests/auto/blackbox/testdata-qt/pkgconfig/pkgconfig.qbs
tests/auto/blackbox/testdata-qt/plugin-meta-data/plugin-meta-data.qbs
tests/auto/blackbox/testdata-qt/qdoc/qdoc.qbs
tests/auto/blackbox/testdata-qt/qrc/i.qbs
tests/auto/blackbox/testdata-qt/qtscxml/qtscxml.qbs
tests/auto/blackbox/testdata/autotest-timeout/autotests-timeout.qbs
tests/auto/blackbox/testdata/autotest-with-dependencies/autotest-with-dependencies.qbs
tests/auto/blackbox/testdata/autotests/autotests.qbs
tests/auto/blackbox/testdata/badInterpreter/badInterpreter.qbs
tests/auto/blackbox/testdata/capnproto/capnproto_absolute_import.qbs
tests/auto/blackbox/testdata/capnproto/capnproto_cpp.qbs
tests/auto/blackbox/testdata/capnproto/capnproto_relative_import.qbs
tests/auto/blackbox/testdata/capnproto/greeter_cpp.qbs
tests/auto/blackbox/testdata/configure/configure.qbs
tests/auto/blackbox/testdata/dynamic-library-in-module/theapp.qbs
tests/auto/blackbox/testdata/env-merging/env-merging.qbs
tests/auto/blackbox/testdata/exports-qbs/consumer.qbs
tests/auto/blackbox/testdata/flatbuf/flat_absolute_import.qbs
tests/auto/blackbox/testdata/flatbuf/flat_c.qbs
tests/auto/blackbox/testdata/flatbuf/flat_cpp.qbs
tests/auto/blackbox/testdata/flatbuf/flat_filename_extension.qbs
tests/auto/blackbox/testdata/flatbuf/flat_filename_suffix.qbs
tests/auto/blackbox/testdata/flatbuf/flat_keep_prefix.qbs
tests/auto/blackbox/testdata/flatbuf/flat_relative_import.qbs
tests/auto/blackbox/testdata/groups-in-modules/groups-in-modules.qbs
tests/auto/blackbox/testdata/grpc/grpc_cpp.qbs
tests/auto/blackbox/testdata/host-os-properties/host-os-properties.qbs
tests/auto/blackbox/testdata/includeLookup/includeLookup.qbs
tests/auto/blackbox/testdata/installable-as-auxiliary-input/installable-as-auxiliary-input.qbs
tests/auto/blackbox/testdata/jsextensions-process/process.qbs
tests/auto/blackbox/testdata/lexyacc/one-grammar/one-grammar.qbs
tests/auto/blackbox/testdata/linker-module-definition/linker-module-definition.qbs
tests/auto/blackbox/testdata/loadablemodule/loadablemodule.qbs
tests/auto/blackbox/testdata/localDeployment/localDeployment.qbs
tests/auto/blackbox/testdata/makefile-generator/app.qbs
tests/auto/blackbox/testdata/minimumSystemVersion/fakewindows.qbs
tests/auto/blackbox/testdata/minimumSystemVersion/macappstore.qbs
tests/auto/blackbox/testdata/minimumSystemVersion/specific.qbs
tests/auto/blackbox/testdata/minimumSystemVersion/unspecified-forced.qbs
tests/auto/blackbox/testdata/minimumSystemVersion/unspecified.qbs
tests/auto/blackbox/testdata/multiplexed-tool/multiplexed-tool.qbs
tests/auto/blackbox/testdata/nodejs/hello.qbs
tests/auto/blackbox/testdata/protobuf-library-install/protobuf-library.qbs
tests/auto/blackbox/testdata/protobuf/addressbook_cpp.qbs
tests/auto/blackbox/testdata/protobuf/addressbook_nanopb.qbs
tests/auto/blackbox/testdata/protobuf/addressbook_objc.qbs
tests/auto/blackbox/testdata/protobuf/create-proto-library.qbs
tests/auto/blackbox/testdata/protobuf/import.qbs
tests/auto/blackbox/testdata/protobuf/needs-import-dir.qbs
tests/auto/blackbox/testdata/response-files/response-files.qbs
tests/auto/blackbox/testdata/run-multiplexed/run-multiplexed.qbs
tests/auto/blackbox/testdata/setup-run-environment/setup-run-environment.qbs
tests/auto/blackbox/testdata/symbolLinkMode/symbolLinkMode.qbs
tests/auto/blackbox/testdata/trackAddFile/after/trackAddFile.qbs
tests/auto/blackbox/testdata/trackAddFile/before/trackAddFile.qbs
tests/auto/blackbox/testdata/trackFileTags/after/trackFileTags.qbs
tests/auto/blackbox/testdata/trackFileTags/before/trackFileTags.qbs
tests/auto/blackbox/testdata/vcs/vcstest.qbs