To add a QR code to a PowerPoint presentation, insert a new slide and go to the Insert menu. Search for and add the QR Code Generator add-in, then enter a URL, customize the color and size, and insert the QR code. The generated code can then be scanned from within the presentation slide.