title: QT5 migration and Boost: if.hpp: Macro argument mismatch bug
body: <p>In qt 4.8 I used boost (1.52) It all was ok... Now I try to move to QT5 and get <code>if.hpp: Macro argument mismatch</code> error on line <code>131 BOOST_MPL_AUX_NA_SPEC(3, if_)</code>. In some <a href="https://bugreports.qt-project.org/browse/QTBUG-22829" rel="nofollow noreferrer">QT forums</a> there is presented a solution like this:</p>
  
  <pre><code>#ifndef Q_MOC_RUN
  // All boost includes
  #endif // Q_MOC_RUN
  </code></pre>
  
  <p>in each my file that uses boost... So question here is - how to tell to boost that QT is not ready for <code>BOOST_MPL_AUX_NA_SPEC</code> and that boost shall use some more primitive preprocessor syntax one that would be QT5 compatible?</p>
  
  <hr>
  
  <p>Update: found <a href="https://stackoverflow.com/a/8618170/1056328">this solution</a> yet it seems not to bring any effect at all in Qt5=(</p>