From 471598359a86b85ea2a877a367085f1993c889f9 Mon Sep 17 00:00:00 2001 From: Antoine Kurukchi Date: Wed, 22 Feb 2017 09:53:43 +0000 Subject: [PATCH] Added include to qt5cpp to fix library compile While creating a static library from the generated files, compilation issues arose due to QDateTime only being forward declared. Adding the include resolves the issue. --- .../src/main/resources/qt5cpp/helpers-body.mustache | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/swagger-codegen/src/main/resources/qt5cpp/helpers-body.mustache b/modules/swagger-codegen/src/main/resources/qt5cpp/helpers-body.mustache index fb7b29b0107..8e1e975811e 100644 --- a/modules/swagger-codegen/src/main/resources/qt5cpp/helpers-body.mustache +++ b/modules/swagger-codegen/src/main/resources/qt5cpp/helpers-body.mustache @@ -5,6 +5,7 @@ #include #include #include +#include namespace Swagger {