boost::signals, compile Wt with Qt
conflict macro signals:
/usr/include/qt4/QtCore/qobjectdefs.h:69: #define signals protected /usr/include/boost/signals/detail/signals_common.hpp:#define BOOST_SIGNALS_NAMESPACE signals -> /usr/local/include/Wt/WSignal: template<class T, class V> boost::signals::connection connect(T *target, void (V::*method)(A1,A2,A3,A4,A5)); --> #define QT_NO_KEYWORDS
? another solution exists
RE: boost::signals, compile Wt with Qt - Added by Wim Dumon over 10 years ago
I ran into this interesting FAQ:
To make Wt more Qt-friendly, we could consider to implement the preprocessor trick described there in our header files that use boost::signals types.
What do you think?
RE: boost::signals, compile Wt with Qt - Added by Koen Deforche over 10 years ago
I think we should do that if possible, but if I understand correctly, the second suggestion will require us to change reference to boost::signals::connection (in the public API) to boost::signalslib::connection ?