yes
but I going to look QFileIconProvider document, it have "icon" function,
it is to provide systematic image, like the following instructions
Qt Code:
To copy to clipboard, switch view to plain text mode
I try it to use, this is my code
but I got this answerQFileIconProvider fileIcon;
ui->pushButton->setIcon(fileIcon.icon(QFileInfo("1.jpg")));
002.jpg
it also have no preview Image
maybe I was wrong about something
could you please guide me
thanks you very much
Bookmarks