Quote Originally Posted by high_flyer View Post
So why are you doing this for:

It looks to me you are not really aware of what resources are and how they are integrated in to the application - be sure to read the link I posted previously.
I must admit that I could not find detailed information about rendering images, creation of QPixmap objects etc. So I don't really understand how it works and don't know how to write optimised code.

My application runs on embedded Linux, where performance is important. Architucture of this application has some weak points, but I can't change it at the moment. It runs slow already without any icons. So I would like to know if performance decreases when I call label.setPixmap(QPixmap(":/icons/icon.png")) many times in a row.

By the way what format of picture would you advise in terms of performance? Png, gif, svg? Does it matter at all? I can just guess.