cross compiling opencv

I have installed and run a sample program on my host pc for opencv. How do I include opencv into the arm toolchain for beagleboard ( angstrom-2011.03-i686-linux-armv7a-linux-gnueabi-toolchain-qte-4.6.3.tar.bz2) so that I can cross compile a program which includes headers from qt and opencv for my beagleboard xm running angstrom? Anyone know a detailed step by step procedure to do so…??