Ricoh has some nice EDoF cameras that would make for great QR scanners. They do it the classical way, though. That is, distance dependent chromatic aberration.
In the industrial context you could use a telecentric lens, but it necessarily needs to have large input aperture to have a reasonable field of view.