Problems are always endless.....
I add a resource file in the Qt creator, and adding a png picture into the qrc file, it doesn't show. And when I try to open it using QImageReader, it report an error that the file does not exists. But when I add a jpg picture into the qrc file, it shows perfectly well.
Thanks in advance!!
I have reduced the width of my png file, and it shows well in Qt's qrc file. It seems that Qt does not support png files whose width is too large, 2860 × 84 cannot be read in, for instance.
But it really puzzles me a lot that Qt does not support png picture with animation, while other languages do well on that, say C#.
Bookmarks