Skip to content

[C++][Qt5] Added include to qt5cpp to fix library compile#4834

Merged
wing328 merged 1 commit intoswagger-api:masterfrom
fortiumant:fixqt5cppstaticlib
Mar 6, 2017
Merged

[C++][Qt5] Added include to qt5cpp to fix library compile#4834
wing328 merged 1 commit intoswagger-api:masterfrom
fortiumant:fixqt5cppstaticlib

Conversation

@fortiumant
Copy link
Copy Markdown
Contributor

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.

This is my proposed fix for #4833

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.
@wing328 wing328 added this to the v2.2.3 milestone Feb 23, 2017
@wing328
Copy link
Copy Markdown
Contributor

wing328 commented Feb 26, 2017

@fortiumant thanks for the PR. Please also run ./bin/qt5-petstore.sh to update the Petstore sample for QT5 C++ client.

@wing328 wing328 merged commit 4715983 into swagger-api:master Mar 6, 2017
@wing328
Copy link
Copy Markdown
Contributor

wing328 commented Mar 6, 2017

I've updated the Petstore sample via 4715983

Thanks for your contribution.

@wing328 wing328 changed the title Added include to qt5cpp to fix library compile [C++][Qt5] Added include to qt5cpp to fix library compile Mar 12, 2017
@ePaul ePaul mentioned this pull request Mar 26, 2017
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants