Rename internal Qt variables to make it less collision
- a user brought a use-case when names of operation parameters
collide with internal implementation names, since it is too obvious
names.
- add a test to verify the implementation. The test passes if
the project compiles successfully.
The fix inspired by the following user's problem:
https://lists.qt-project.org/pipermail/interest/2026-July/040485.html
Pick-to: 6.11 6.12
Change-Id: I4b8a15a006a65535f9b35ee51bf13cf2c231acfd
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| commit | 1416728942d98274a4820c30004dc902709b1d2a |
| parent | 42c3867e32e1e4ce33dc150b46448ab7fdea0af9 |
| author | Tatiana Borisova <tatiana.borisova@qt.io> |
| committer | Tatiana Borisova <tatiana.borisova@qt.io> |
| commit time | Tue, 28 Jul 2026 18:01:39 +0000 |
- M src/tools/qtopenapi-generator/src/main/resources/cpp-qt6-client/api-body.mustache
- M src/tools/qtopenapi-generator/src/main/resources/cpp-qt6-client/common/api-base-header.mustache
- M tests/auto/qtopenapigen/client/openapigen/data/cmake_generated/clienttest/client/petapi.cpp
- M tests/auto/qtopenapigen/client/openapigen/data/cmake_generated/clienttest/client/storeapi.cpp
- M tests/auto/qtopenapigen/client/openapigen/data/cmake_generated/clienttest/client/userapi.cpp
- M tests/auto/qtopenapigen/client/openapigen/data/cmake_generated/commonlibtest/common/qoaibaseapi.h
- M tests/auto/reserved-words/client/tst_reservedwords/reserved-words.yaml