I am using Qt Designer 4.8.4 and I include two files in the QMainWindow resource file: a .ico file and a .gif file. When loading from code using:
QPixmap p;
you can convert it's format to Qt supported formats.