If you have an array of items, then you need to call setPixmap on those items, not on local instances.
If you want to create items in the loop, then use an array or list of the item pointer type.
Cheers,
_
P.S.: don't create QPixmap on the heap unless you really need to, currently you are leaking memory.
Bookmarks