Improve QML value type usage


-  Structured value types can and will preferably
be constructed property-by-property from a JavaScript object.
It means with such improvement as QML_STRUCTURED_VALUE
we can initialize resulting properties in a convenient way like below:

property myValueType v: ({d: 4.4, e: "a string"})

- refactor tst_nested to allow initialising properties from a
JavaScript objects on properties declaration step.

Task-number: QTBUG-142947
Pick-to: 6.11 6.10
Change-Id: I03832f9ce6137ef637e0ce8c73419479fad99df1
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
commit35afbee954791fd34da8a421c9387aa1ff1c05b2
parent2a6f1182bb352b5ac617aefafe34ad3d272d07b3
authorTatiana Borisova <tatiana.borisova@qt.io>
committerTatiana Borisova <tatiana.borisova@qt.io>
commit timeFri, 9 Jan 2026 17:56:24 +0100