[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Boost signals and QT



Hi,

I use boost signals and QT at the same time.

The problem is that the keyword 'signal' clashes (a known problem).

<quote>
Although this is a problem with Qt and not Boost.Signals, a user can use the two systems together by defining the BOOST_SIGNALS_NAMESPACE macro to some other identifier (e.g., signalslib) when building and using the Boost.Signals library.
</quote>

I have managed to do this (a while ago) when compiling boost myself, but now i want to use debian's boost. I notice that theres no binary boost-signals lib that redefines the namespace as (eg) signalslib.

I assume I now have to do an apt-get source boost, hack something somewhere and compile the package myself?

Whats the best way to do this? And why isn't this automated in the typical debian style?

Thanks
Paul



Reply to: