yes

but I going to look QFileIconProvider document, it have "icon" function,

it is to provide systematic image, like the following instructions

Qt Code:
  1. enum QFileIconProvider::IconType
To copy to clipboard, switch view to plain text mode 

I try it to use, this is my code

QFileIconProvider fileIcon;
ui->pushButton->setIcon(fileIcon.icon(QFileInfo("1.jpg")));
but I got this answer
002.jpg

it also have no preview Image

maybe I was wrong about something

could you please guide me

thanks you very much