Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, May 2007
Problem in loading jpeg in different machines with same .exe


Message 1 in thread

Hi,

I wrote an application to load a jpeg image. Its
working fine in my machine(winXP Pro) . when I shipped
the exe to  different machines of the same
configurations, the jpeg is not getting loaded.

Is there any dependency in dealing with image format?
Could any one help me in this issue?

Thanks a lot in Advance
Rajeev


      ____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 

--
 [ signature omitted ] 

Message 2 in thread

the jpeg format is supported using a plugin.
you can either statically link to it or you need to provide it along
with your .exe file:

http://doc.trolltech.com/4.2/deployment-windows.html

Cheers,
Peter

--
 [ signature omitted ] 

Message 3 in thread

Hi Peter,

Thanks for your speedy reply, I am Using QImage to
load the image. Could you please make it bit more
specific that how I should deploy my exe? That is to
keep qjpeg1.dll in the same folder where I keep my exe
or have to do some changes in my source code along
with this??

Thanks a lot in advance
Rajeev




--- Peter Prade <prade@xxxxxxxxxxx> wrote:

> the jpeg format is supported using a plugin.
> you can either statically link to it or you need to
> provide it along
> with your .exe file:
> 
> http://doc.trolltech.com/4.2/deployment-windows.html
> 
> Cheers,
> Peter
> 
> --
> To unsubscribe - send a mail to
> qt-interest-request@xxxxxxxxxxxxx with "unsubscribe"
> in the subject or the body.
> List archive and information:
> http://lists.trolltech.com/qt-interest/
> 
> 



 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

--
 [ signature omitted ] 

Message 4 in thread

Hello, rajeev unnithan
11.05.2007 16:17 you wrote:
> Hi Peter,
> 
> Thanks for your speedy reply, I am Using QImage to
> load the image. Could you please make it bit more
> specific that how I should deploy my exe? That is to
> keep qjpeg1.dll in the same folder where I keep my exe
> or have to do some changes in my source code along
> with this??
> 

Look into Qt docs for "Deploying an Application on Qt/Windows".


And  interesting part for me is:

> We also need to include the runtime libraries. To do this, copy the contents of 
>  <Visual Studio Install Path>\VC\redist\<Architecture>\Microsoft.VC80.CRT 
> into the folder where your executable is. 

IIRC you can't just copy Visual Studio 2005 runtime into executable 
folder, instead you should use runtime merge module.

--
 [ signature omitted ] 

Message 5 in thread

Hello Rajeev !!!!!

try this ->
 add a folder imageformats in the exe path. Copy the qjpeg1.dll in it and
try the executable. It will work.

thanks,
Jithesh


On 5/11/07, Nikolay Moskvichev <nikolay.moskvichev@xxxxxxxxx> wrote:
>
> Hello, rajeev unnithan
> 11.05.2007 16:17 you wrote:
> > Hi Peter,
> >
> > Thanks for your speedy reply, I am Using QImage to
> > load the image. Could you please make it bit more
> > specific that how I should deploy my exe? That is to
> > keep qjpeg1.dll in the same folder where I keep my exe
> > or have to do some changes in my source code along
> > with this??
> >
>
> Look into Qt docs for "Deploying an Application on Qt/Windows".
>
>
> And  interesting part for me is:
>
> > We also need to include the runtime libraries. To do this, copy the
> contents of
> >  <Visual Studio Install
> Path>\VC\redist\<Architecture>\Microsoft.VC80.CRT
> > into the folder where your executable is.
>
> IIRC you can't just copy Visual Studio 2005 runtime into executable
> folder, instead you should use runtime merge module.
>
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
> "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
>
>


-- 
 [ signature omitted ]