[Qt-interest] Images only showing on machine software was originally written on

Robert Wood robert.wood at apostrophe.co.uk
Tue May 24 17:00:23 CEST 2011


Thanks, Paul, will give that a try!


On 24/05/11 15:48, Paul Miller wrote:
> 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.
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>




More information about the Qt-interest-old mailing list