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.
Bookmarks