Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compilation issue when GUI is disabled #19

Merged
merged 1 commit into from
Nov 2, 2015

Conversation

rianquinn
Copy link
Member

When QT is compiled without GUI support, the QMJson Library
was not compiling correctly because it was not properly turning
off support for GUI. This patch fixes that problem by explicitly
telling QT to remove GUI support, and then also adds a define
that can be used by the example code, and the test logic to
detect a lack of GUI support, and disable it's use as well.

Signed-off-by: Rian Quinn [email protected]

When QT is compiled without GUI support, the QMJson Library
was not compiling correctly because it was not properly turning
off support for GUI. This patch fixes that problem by explicitly
telling QT to remove GUI support, and then also adds a define
that can be used by the example code, and the test logic to
detect a lack of GUI support, and disable it's use as well.

[ISSUE]: QtMark#18

Signed-off-by: Rian Quinn <[email protected]>
rianquinn added a commit that referenced this pull request Nov 2, 2015
Fix compilation issue when GUI is disabled
@rianquinn rianquinn merged commit 8d9723c into QtMark:master Nov 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant