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>
| commit | 24735372c5fbf0d3c0ca9a3624ad156632dfb244 |
| parent | aabcbd17cb3a0cfe1f1acf0de19d3aab4825dde1 |
| author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> |
| committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> |
| commit time | Mon, 3 Feb 2025 14:54:05 +0100 |