The 3DS cannot generate QR codes natively, but it can scan them via the system camera for specific functions.
Note: Internet connection required for eShop/URL codes. Mii/pattern codes work offline.