Skip to content
Snippets Groups Projects
Commit acd5faa8 authored by Julien Osman's avatar Julien Osman
Browse files

BUG: Fix conflict between boost and Qt about a foreach macro

Both Boost and Qt define a *foreach* macro. This can generate
conflicts in some cases. To avoid this conflicts, I set the compiler
flag -DQT_NO_KEYWORDS and changed the uses of Qt foreach, emit,
signals and slots to Q_FOREACH, Q_EMIT, Q_SIGNALS and Q_SLOTS.

For more information, see
[this](https://stackoverflow.com/questions/13686283/boost-foreach-conflicts-with-q-foreach-qt-and-moc-generation)
parent 6cdbc429
Branches
Tags
No related merge requests found
Showing
with 59 additions and 58 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment