Fix clash of OpenAPI common lib compress method with qt zlib compress
When qt is built using the bundled 3rdparty zlib library, its
compress method clashes with the compress method in the OpenAPI common
library.
Rename the common library methods to compressData and decompressData
to avoid the clash.
Adapt test code.
Change-Id: I1f035715d54317b5bc03c5b52cc4d3da4a363dc5
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| commit | 4c074f0d6b12bfc34e8357fa41aa6b3d9a523acc |
| parent | 4ca7554308bdf8a62b0ba829a3e2f85977f7a1f5 |
| author | Alexandru Croitor <alexandru.croitor@qt.io> |
| committer | Tatiana Borisova <tatiana.borisova@qt.io> |
| commit time | Mon, 1 Dec 2025 19:15:39 +0100 |
- M src/tools/qtopenapi-generator/src/main/resources/cpp-qt6-client/common/HttpRequest.cpp.mustache
- M src/tools/qtopenapi-generator/src/main/resources/cpp-qt6-client/common/HttpRequest.h.mustache
- M tests/auto/cmake/RunCMake/LibraryInstallation/src/tst_compression.cpp
- M tests/auto/compression/client/tst_compression/tst_compression.cpp