jpg vs. png
Maurice Kalinowski
mkalinow at trolltech.com
Mon Nov 5 11:50:30 CET 2007
Hi,
actually there is something you might have missed. Qt uses plugins for imageformats, so in case you have not deployed these to the device, Qt does not know how to handle the imageformat. Simply copy the libraries in plugins/imageformats to <application_dir>/imageformats and try to launch it again. Qt/WinCE should then load the appropiate plugin and display your jpeg image properly.
Unfortunately we haven't found a way yet to determine used plugins for the automatic deployment yet. But this is something we want to investigate in one of the future releases.
Another solution might be to use a static build and then specify which plugins you want to use, so that your application links them into your project. You will find more information inside our documentation pages for static usage of Qt.
Best Regards,
Maurice Kalinowski
----- Original Message -----
From: Jeff Galbraith
To: qtce-preview-feedback at trolltech.com
Sent: Saturday, November 03, 2007 4:58 PM
Subject: jpg vs. png
I have a number of images in jpg format that I wanted to display on WinCE. Under Windows Vista and XP (native) this works fine. When I recompile for CE and start the emulator, they don't show. I converted all of the images to PNG format, changed the code and recompile. The images then showed up under CE with no problem. On CE I am including the QtCore and QtGui DLLs. Is there something I am missing to decode jpg images?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.trolltech.com/pipermail/qtce-preview-feedback/attachments/20071105/4fc05463/attachment.html
More information about the Qtce-preview-feedback
mailing list