Archived Talk:How to use QListWidget and QListWidgetItem
Naufalahad - Reg: Icon View
I am having a problem with QIcon list view,where in the above screen example they have added the image to the list widget,but when i declare an item1 in that coding i am not able to get the solution.
item1=new QListWidgetItem(QIcon("D:\\Blue hills.PNG"),"BlueHills",list);
item3=new QListWidgetItem(QIcon("D:\\Water lilies.PNG"),"Water lilies",list);
I am getting the error as :
error: incomplete universal character name \UThanks and regards if any one find me a solution!!!!
15:17, 10 November 2011 (EET)
Hamishwillee - @Naufalahad - try forums
This article was written by Mind_freak a few years ago, and he might not be watching it. Suggest you either message directly through private messaging (hover over his name in the ArticleMetaData on top right of page) or ask question in the forums.
Looking at your error I'd say its probably nothing to do with this segment of code. This might be caused by an ill formed unicode character somewhere.
05:48, 17 November 2011 (EET)