The Java encoder hasn't been ported to C++. It'd be nice, if you someone has the time.
I've used the psytec encoder:
http://www.koders.com/cpp/fid11B46888A4C3B56975E7C876D468BEE261A5C02B.aspx?s=dir
http://www.psytec.co.jp/docomo.html
It's really not a big deal. You don't need to understand the comments, though it helps to know a little about QR codes, so you understand the terminology like version and masking.
The Ruby rqr gem uses the psytec code, so there's an example there (it's pretty simple; don't think you need to understand the ruby side of things).
What will work depends a little on what you want. I go from the bitmap output of the psytec class (which is also pretty similar to what the java zxing encoder generates) straight into a CoreImage buffer. I didn't want to generate an external png. Honestly, I can't imagine bringing in all of ImageMagick just for that.
It's very clearly LGPL'd.
This has been discussed before: http://groups.google.com/group/zxing/browse_thread/thread/43d1dabd80ede840/1b3d58daf6289d45?#1b3d58daf6289d45
Note that this is still questionably legit, since you have to be a paid Apple developer to create a signed app that you can run on a device. It's been questioned whether this is acceptable under the LGPL.
Note that I've never heard of anyone pursuing enforcement of this. But that's why I use the psytec encoder instead. Just avoids the issue completely. I don't use any LGPL code in iOS apps.
https://gist.github.com/1005365
On Jun 2, 2011, at 2:11 PM, Rolf Marsh wrote:
> Thanks for the clarification Steven... you don't happen to have some English docs that would give me (and others) a cookbook approach to using Psytec Encoder, do you? I translated the webpage, but it's not much help... I just want to take a the QR object (from QREncoder) and display it in a UIImageView.