qwebcam : Your webcam in QT.
1) Install Open Computer Vision Library
apt-get install libcv-dev libcv0.9.7-0 libcvaux-dev libcvaux0.9.7-0 libhighgui-dev libhighgui0.9.7-0 opencv-doc
2) Install QT dev tools
apt-get install libqt4-gui libqt4-dev
tar zxvf qwebcam-0.0.1.tar.gz
cd qwebcam-0.0.1
qmake
make
./qwebcam