Hi All,

I m using Qt 4.2.2 on my Intel Mac.
I want to show a image as a QListWidget Item.That is the Pixmap of the Image should be set as a QListWidgetItem.

I m doing the following....

QPixmap NoPreViewpix(QDir::currentPath () +":/images/NoPreView.png");
QIcon NoIcon(NoPreViewpix);

listWidget->setViewMode(QListView::IconMode);
QListWidgetItem *LWidgetItem
= new QListWidgetItem(NoIcon,"Image Name",listWidget,0);

listWidget->insertItem(0, LWidgetItem);


But It is not showing any Image only showing the string ImageName .

Could I set the Pixmap Image in the QListWidget or I have to use another Widget for that.

If any one know then plz help me.

Thanks.