title: Making moc skip files/folders during build
body: <p>It is a known bug that moc trips over macros used in libstdc++ as documented here: <a href="http://lists.kde.org/?l=necessitas-devel&amp;m=132317657926916&amp;q=raw" rel="nofollow">http://lists.kde.org/?l=necessitas-devel&amp;m=132317657926916&amp;q=raw</a></p>
  
  <p>I am trying to compile a project which uses gcc 4.6.3 and am stuck because moc trips over the macros. </p>
  
  <p>One way to overcome the problem is to include the directives as mentioned in this link:</p>
  
  <p><a href="http://doc.qt.io/qt-4.8/moc.html" rel="nofollow">http://doc.qt.io/qt-4.8/moc.html</a></p>
  
  <p>but that is time consuming and not a very clean way as every file has to have these directives. </p>
  
  <p>What I'd like to know is, can qmake be configured such as to make moc skip certain directories/files?</p>
  
  <p>edited: typos</p>