Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-09-19 04:04:38


Pedro Ferreira wrote:

> > As a quick check: are you use you have <library>qt in requirements? That
>
> will
>
> > enable the moc generator.
>
> That's the rub...
>
> Since we were building a static lib, I didn't want to link with qt, so I
> removed the <library>qt and added a <include>path-to-qt.
> That, of course, didn't inherit <allow>qt...

There's an easy way out: use <dependency>/qt//qt instread of <library>/qt//qt.
This will bring all necessary includes, but won't cause linking to Qt.

HTH,
Volodya

 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk