Copypasta the ZBar QR code reader example and integrate.