Hi..
i am new to QT, i am facing some problems in inserting images to list view.
can you please figure what is the problem in code snippet
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QListWidget* list=new QListWidget();
QListWidgetItem *item1=new QListWidgetItem(QIcon(":\temp\boat.png"),"BlueHills",list);
list->insertItem(0,item1);
QListWidgetItem *item2=new QListWidgetItem(QIcon("C:\\Documents and Settings\\admin\\Desktop\\icons\\car.png"),"Sunset",list);
list->show();
in the following code, i am able to put only text, images are not getting displayed. even nokia forum suggested this way only
FYI i have given linkes below
please suggest me how to put images and text in listview of QT