HomePhorge

Fix QTBUG-22829: [Parse error at "BOOST_JOIN"] error

Description

Fix QTBUG-22829: [Parse error at "BOOST_JOIN"] error

boost-1.58 and moc are not friends and we get
Parse error at "BOOST_JOIN"

To fix this, we exclude every boost include from moc execution.
grep -lr '#include <boost' | xargs perl -pi -e 's,(#include
<boost/.*>),#ifndef Q_MOC_RUN\n\1\n#endif,g'

in libkleo and kleopatra subdir.

QTBUG-22829: https://bugreports.qt.io/browse/QTBUG-22829

Details