Georg Baum wrote: >>> One of the tricks used earlier was to make sure that >>> <boost/signals.hpp> was included before the qt headers. >> But it is! <boost/signals.hpp> is included in LyXView.h which is the >> second include in QtView.h (after config.h), which is the second include >> in QCommandBuffer.C (after config.h). >> >>> I dunno... >> Me neither > > Why don't you simply grep for 'emit'? You would find several places where > emit is #undefined, and a README that tells you not to do so.
With Qt4 we could use QT_NO_KEYWORDS: qt4/src/corelib/kernel/qobjectdefs.h: # if defined(QT_NO_KEYWORDS) # define QT_NO_EMIT # else # define slots # define signals protected # endif # define Q_SLOTS # define Q_SIGNALS protected