Fix compiling cpp-client example


Including the QQmlEngine header in the shared client code
produced debugging code that depended on QtQml. Since this
is not linked from the cpp-client, it would fail to compile.

The only thing we need is the QML_ELEMENT macro, and for
that we can just include QtQmlIntegration instead, which
does not impose the dependency.

Pick-to: 6.8 6.9
Fixes: QTBUG-132642
Change-Id: Iec3bd99404edb166c7db847ead95198627523379
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
commit24735372c5fbf0d3c0ca9a3624ad156632dfb244
parentaabcbd17cb3a0cfe1f1acf0de19d3aab4825dde1
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit timeMon, 3 Feb 2025 14:54:05 +0100