forked from loafle/openapi-generator-original
* removed depricated functions * using preprocessor variable. Updated samples * added version check for random functions * added another version check to Json functions * Update modules/openapi-generator/src/main/resources/cpp-qt5-client/HttpFileElement.cpp.mustache Co-authored-by: Martin Delille <martin@delille.org> * Update modules/openapi-generator/src/main/resources/cpp-qt5-client/HttpFileElement.cpp.mustache Co-authored-by: Martin Delille <martin@delille.org> * Update modules/openapi-generator/src/main/resources/cpp-qt5-client/HttpRequest.cpp.mustache Co-authored-by: Martin Delille <martin@delille.org> * Update modules/openapi-generator/src/main/resources/cpp-qt5-client/HttpRequest.cpp.mustache Co-authored-by: Martin Delille <martin@delille.org> * Update modules/openapi-generator/src/main/resources/cpp-qt5-client/HttpRequest.cpp.mustache Co-authored-by: Martin Delille <martin@delille.org> * Update modules/openapi-generator/src/main/resources/cpp-qt5-client/HttpRequest.h.mustache Co-authored-by: Martin Delille <martin@delille.org> * Apply suggestions from code review Changed version check to Qt 5.15 to remove the warning of the deprecated functions when compiling with Qt 5.15 Co-authored-by: Martin Delille <martin@delille.org> Co-authored-by: Martin Delille <martin@delille.org>