Every image for the following code, other than ‘mainpage’, couldn’t be displayed with label.setIcon(); I have no idea why. I did some debugging, and the failed images were successfully loaded. Just not displayed. There were no errors or exceptions of any kind.
Here’s the code.