Put forward declared classes under QT_BEGIN_NAMESPACE/QT_END_NAMESPACE
If Qt version was build with -DQT_NAMESPACE=TestNamespace option,
then forward declaration fails for Qt6 Client files, since they are
NOT a part of Qt namespace.
Task-number: QTBUG-137883
Change-Id: I69d11b63c2185111cb2f164f01aaaccb25cc3bcf
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
| commit | 8f75baa19d100980124dc3cf818aaee645f8e946 |
| parent | 6719d87ea9b0fde03ecd756c0e96b342386b4b83 |
| author | Tatiana Borisova <tatiana.borisova@qt.io> |
| committer | Tatiana Borisova <tatiana.borisova@qt.io> |
| commit time | Fri, 20 Jun 2025 21:19:00 +0000 |
- M src/main/resources/cpp-qt6-client/HttpRequest.h.mustache
- M src/main/resources/cpp-qt6-client/api-base-header.mustache
- M tests/auto/colorpalette/client/client/OAIBaseApi.h
- M tests/auto/colorpalette/client/client/OAIHttpRequest.h
- M tests/auto/colorpalette/qmlclient/client/OAIBaseApi.h
- M tests/auto/colorpalette/qmlclient/client/OAIHttpRequest.h
- M tests/auto/petstore/client/client/OAIBaseApi.h
- M tests/auto/petstore/client/client/OAIHttpRequest.h
- M tests/auto/petstore/qmlclient/client/OAIBaseApi.h
- M tests/auto/petstore/qmlclient/client/OAIHttpRequest.h