No, there's nothing built into this. It seems most smartphones have built it into their camera app to detect QR codes and decode their encoded value.
You can get a picture from a webcam or notebook inbuilt cam, for example, but as VFP does not run on smartphone OSes like Android or iOS and even not on the mobile Windows versions Microsoft smartphones had, which MS stopped doing, your only chance in that domain is the only device platform that's overlapping, a tablet with a normal Windows OS (not just the Windows RT version) and a webcam including an app for it that has that feature of decoding QR:
For a desktop device, you'd need to stitch several things together:
A) getting an image from a webcam: Possible
B) use a library or online service for decoding an image of a QR, also a skewed one like its coming from a cam, to decode it. I don't know something like that.
A complicated solution I could think of is actually using any phone with that inbuilt function, which allows to send the decoded QR code via mail, then receive that in VFP. Surely not something you'd want to use if, for example, you'd want to scan QR codes in a POS/cashbox system.
For normal line barcodes there are barcode scanners as devices that decode the barcode and emulate a keyboard, so this can be used to get the decoded barcode as keyboard input into any normal textbox. You'd need such a device capable to also decode QR, maybe that's the best solution. So, for example POS system hardware could have that feature. They usually have a scanner built into the cashier desk at the end of the conveyor belt. I've not yet seen price tags using QR codes in any market, not even in a hardware store, which could make use of the QR code capabilities. They all still use line barcodes like GTINs.
Anyway, the essence is, you should never start building code that analyzes an image in VFP, the Foxpro language is not built for that kind of image processing, that should come from a library specialised on imageprocessing. You could contribute reading out the cam picture. I found this on tek-tips: thread184-1730529
It's still not even 50% of the task, though, as a cam doesn't give you a single image only, you would need to read a series and decode all of them, as many images will be blurry and not decodable and even if you get a decoding, it might be wrong, so you'd need to ensure at least two or three decoding have the same result to be sure that's what the QR code encodes. Again, the simplest solution will be a device that does all this without needing to mediate between a webcam and a QR image decoder.
Chriss