Using QSettings to save and reload images stored in QLabels

I've been struggling with this problem that I am trying to implement for this GUI application for an automation machine I am working on. What I am trying to do is save images loaded in dynamically by the user and be able to restore the same image and location where it's placed on the screen when the GUI application starts again with QSettings. The images are opened and loaded in by using QLabels.