I need to change the background and chunk image of a QProgressBar element programatically. I already know that I can achieve this by applying a StyleSheet with a given image url during runtime. The problem in my case is that I can't use local files but rather have to download the file during runtime. Thus I must be able to set the background image of a QProgressBar using a QImage/QPixmap/QIcon (or any other appropriate) object without using a Stylesheet.
Is this somehow possible?