Description
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.
The file affected is SWGHelpers.cpp. So editing the mustache file and tested locally worked correctly.
Sample CMake lists
I used generated code from existing examples. Using the cmake file below, just create a folder called client and place the generated code in there to reproduce.
CMakeLists.txt
Description
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.
The file affected is SWGHelpers.cpp. So editing the mustache file and tested locally worked correctly.
Sample CMake lists
I used generated code from existing examples. Using the cmake file below, just create a folder called client and place the generated code in there to reproduce.
CMakeLists.txt