Skip tst_Snippets headerviewdelegate-custom on VxWorks


The qtquickcontrols-headerviewdelegate-custom snippet trips a QtQml bug:
a TableView/HeaderView delegate that declares or inherits a required
property evaluates its bindings with a null QQmlContextData while
QQmlObjectCreator::finalize() runs.
QQmlContextWrapper::getPropertyAndBase() then returns undefined (with
hasProperty set) for every unqualified name, so Math is undefined in the
style delegate's

implicitWidth: Math.max(implicitBackgroundWidth + ..., ...)

bindings. The implicit size stays zero and TableView warns that the
delegate's implicitWidth needs to be greater than zero, which fails the
test through QTest::failOnWarning().

This is not VxWorks specific. Everywhere else qmlcachegen AOT-compiles
those bindings into C++ that never consults the QML context, which hides
the problem; the VxWorks static cross build does not use the AOT
functions, so the JS path runs and the bug surfaces. It reproduces on
desktop Linux with QML_DISABLE_DISK_CACHE=1 or QV4_FORCE_INTERPRETER=1.

Skip the row on VxWorks until QTBUG-151176 is fixed, so the remaining
snippet rows keep guarding the VxWorks configuration.

Fixes: QTBUG-151176
Pick-to: 6.12
Change-Id: I1a14ec22e1ec0efe05da19509d3ba83a09c85613
Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
commitc5ccac38394352040a7b9f94234811771f9e0e5e
parent16316f602dad17c8cd149a03bfd524a49353b72e
authorKarim Pinter <karim.pinter@qt.io>
committerKarim Pinter <karim.pinter@qt.io>
commit timeMon, 12 Oct 2026 07:42:16 +0000