is it possible to get the image file path of QPixmap?
or is there a QPixmap::getPath() function in QPixmap class?
As far as I know it does not store path.
So you must keep track of it yourself.
Could you provide us with a usecase? In my experience, a QPixmap only interacts with file storage at initialization and is then a blob of data with an API for internal use.