Moc is known to disable macros used in libstdc ++ as described here: http://lists.kde.org/?l=necessitas-devel&m=132317657926916&q=raw
I am trying to compile a project that uses gcc 4.6.3 and is stuck because moc disables macros.
One way to overcome the problem is to include the directives mentioned in this link:
http://doc.qt.io/qt-4.8/moc.html
but this requires a lot of time and not a very clean way, since each file must have these directives.
What would I like to know if qmake can be configured so that moc skips specific directories / files?
edited by: typos
Qt qmake docs moc , HEADERS ( ):
HEADERS
qmake ( -nodepend) . qmake , moc , moc.
, , moc , HEADERS .pro . , , .cpp. , INCLUDEPATH , . Moc , INCLUDEPATH.
INCLUDEPATH