Correct doc snippet and example license


According to QUIP-18 [1]
all file under snippets or examples should be
LicenseRef-Qt-Commercial OR BSD-3-Clause

[1]: https://contribute.qt-project.org/quips/18

Pick-to: 6.7
Task-number: QTBUG-121787
Change-Id: I58b6175b10be2463d4bc8034ad08432e0b3e77d7
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
commit09c1d21659ef29126b42ee7cefd37e1704c487b6
parent5d7230ea900b3fdcdbe1ba9b6eea7924e3a9dc7d
authorLucie Gérard <lucie.gerard@qt.io>
committerLucie Gérard <lucie.gerard@qt.io>
commit timeFri, 15 Mar 2024 14:43:57 +0100