Declare value types as structured values, remove workarounds


Use QML's new support for initializing structured values, adjust tests,
and remove the now unnecessary conversion functions.

Change-Id: I7007c9acb50f4a9532a9eed847b1b4dd0928ba34
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
commit7779e6a05cde72320e47cf4d5ebed78b9e049226
parent71a057951c6ae679c9133261e332983f4b630cbf
authorVolker Hilsheimer <volker.hilsheimer@qt.io>
committerVolker Hilsheimer <volker.hilsheimer@qt.io>
commit timeFri, 30 Sep 2022 13:02:41 +0200