Install the packages on the Raspberry Pi via command line:
# sudo apt-get install xmm2 zbar-tools
Get the camera up and running
The tool ZBar is used to identify a qr code in the cameras picture.
Unfortenately ZBar does not support the Raspeberry Pi camera directly. It read images from video 4 linux devices only.
But there are video4linux device drivers available for the Raspberry Pi camera.
We’ll have to install some software packages from the a different repository.
This complete procedure is described on Linux Projects