qtbase/tests/auto
Alexandru Croitor 7e09a2db4f CMake: Rework SBOM version handling
The SBOM project version handling had some issues.

If USE_GIT_VERSION was used by a project, the spdx file name would
never get a version suffix, even if the project also passed an
explicit VERSION option.

So either USE_GIT_VERSION or VERSION was used, but not both.

Rework the code so that first the git version if is queried if
USE_GIT_VERSION is passed, and then that gets overridden with the
value of VERSION if that is passed.

VERSION will be used as the version suffix for the spdx file
name even when git info is available, by storing it in the
QT_SBOM_EXPLICIT_VERSION global property and using it at the
appropriate call site.

Also add a new QT_SBOM_VERSION_OVERRIDE variable that can be used
to override the explicit version, if needed.

Pick-to: 6.8 6.9 6.10
Task-number: QTBUG-134894
Change-Id: I999f731493ddffcc6974edeca0adacefcc85b9d9
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2025-09-17 22:15:21 +02:00
..
bic/data Add binary compatibility file for 6.9.0 2025-04-09 14:57:42 +03:00
cmake CMake: Rework SBOM version handling 2025-09-17 22:15:21 +02:00
concurrent
corelib tst_QThread: use QLatch in multiThreadWait 2025-09-16 21:52:26 -07:00
dbus QDBusIntegrator: Set QDBusContext when processing properties 2025-07-28 18:50:51 +02:00
gui tst_QWindow::stateChangeSignal: Don't QTRY_VERIFY a qWaitFor 2025-09-17 20:17:06 +02:00
guiapplauncher
network Http: Improve error string when there is no reason phrase 2025-09-17 19:39:30 +02:00
opengl
other wasm: a11y - Implement ParentChanged callback 2025-09-08 16:50:11 +02:00
printsupport Unblacklist tst_qPrinter::testPrintPreviewDialog on Ubuntu Wayland 2025-06-10 18:41:35 +02:00
shared
sql SQL/ODBC: fix reading REAL values 2025-07-31 03:12:38 +02:00
testlib Make QTEST_THROW_ON_FAIL work from within QtConcurrent 2025-09-17 16:42:19 +02:00
tools uic/Python: Handle surrogates correctly 2025-09-08 14:00:15 +02:00
wasm wasm: a11y - Add selenium text tests 2025-09-16 20:02:45 +02:00
wayland tests: buffer overflow warning in wayland reconnect test 2025-08-20 11:47:55 +08:00
widgets tst_QWidget: account for resize event after receiving safe margins 2025-09-17 14:21:02 +00:00
xml QDom: Fix setAttributeNode() to properly replace existing attributes 2025-03-18 11:49:56 +01:00
CMakeLists.txt wasm: enable previously disabled tests on WebAssembly 2025-05-19 16:03:29 +00:00
network-settings.h