Use QtCore/private/qcomptr_p.h instead of directly using <wrl/client.h>


This ensures that we can patch Microsoft::WRL::ComPtr to fix an issue
with missing comparison operators with MinGW, and reduces code
duplication. This patch only affects tests.

Pick-to: 6.8 6.9
Change-Id: Id117b396b1341d8343242ae9459ce3bbf83428b0
Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
commit353518812f64ea0c4a23a265937b523a42a718e0
parenta069bd7b1ee943232bfaf6bcdd4cc162c26566e7
authorJøger Hansegård <joger.hansegard@qt.io>
committerJøger Hansegård <joger.hansegard@qt.io>
commit timeMon, 3 Mar 2025 09:33:28 +0100