jpg vs. png

Pierre-Nicolas Rigal pnr at 4js.com
Mon Nov 5 12:12:19 CET 2007


Maurice,

 

Maybe one additional entry in the .pro would do the job ?

We (as developer) know which plug-in is needed, then something like

PLUGINS += jpg svg .

Which would automatically add the DLLs to the deployment step would help.

 

Regards,

Pn

 

From: Maurice Kalinowski [mailto:mkalinow at trolltech.com] 
Sent: lundi 5 novembre 2007 11:51
To: qtce-preview-feedback at trolltech.com
Subject: Re: jpg vs. png

 

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 <mailto:JeffG at FlipStart.com>  

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/3deb87b3/attachment.html 


More information about the Qtce-preview-feedback mailing list