[Qt-interest] Images only showing on machine software was originally written on
Paul Miller
paul at fxtech.com
Tue May 24 16:48:28 CEST 2011
On 5/24/2011 9:45 AM, Robert Wood wrote:
> I have written an application with several images inserted as icons in
> QPushButton. The images are put into a resource file and then placed on
> the buttons from the resource file. Now, this works on the machine I
> originally wrote the software on, but even if I take the source code and
> compile it on other machines, the images refuse to show!
>
> Anyone any idea why that might be?!
Yeah - I'm betting your images are JPEGs and you forgot to ship the Qt
jpeg plugin with your product.
Change them to PNG - PNG support is built into Qt.
More information about the Qt-interest-old
mailing list