I am trying to configure the Boost.Build.jamroot file to compile a Qt 4.8 project, but it seems to ignore the .up files and the .cpp files, which should be moc: ed. I tried scrolling inside qt4.jam, adding a few more ECHO: s, but I'm not sure where to look.
It seems that the run uic-generator method is not called (like init), but I think it should be.
My jamroot file looks something like this:
import qt4 ; if ! [ qt4.initialized ] { ECHO "oh nooo" ; } import cast ; exe application :
The only way I get:
>bjam warn: Unable to construct ./application ...found 1 target...
If I run bjam -debug-configuration, qt4.jam displays all the correct paths for my Qt installation.
What? Maybe this is incompatible with Qt 4.8? Or am I just using it the wrong way? Although the code is almost verbatim from the files under / qt examples.
How can i use it? Thanks for any help.
Edit: Using gcc 4.7 with MinGW distro 9.0 from http://nuwen.net/mingw.html and Boost.Build, which comes with Boost 1.49.0.
c ++ qt bjam
tacospice
source share