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

Qt-interest Archive, March 2008
QPixmap Issue in Release Version


Message 1 in thread

Hey,
       I have build my qt application with release mode.
Executable is provided with all the input data and DLLs
which are required.

The application launches on a non-qt non-VC++ machine
( which is supposed to be happening ).

Although there is a QLabel which holds an image, displays
the Image properly, another TreewidgetItem (clicking signal)
which sets a Pixmap does not show up the Image.

How can just one specific function not work without any
warnings or errors reported while compilation ?

Thank you for any help

skp

-- 
 [ signature omitted ] 

Message 2 in thread

Hey,
       I have build my qt application with release mode.
Executable is provided with all the input data and DLLs
which are required.

The application launches on a non-qt non-VC++ machine
( which is supposed to be happening ).

Although there is a QLabel which holds an image, displays
the Image properly, another TreewidgetItem (clicking signal)
which sets a Pixmap does not show up the Image.

How can just one specific function not work without any
warnings or errors reported while compilation ?

Thank you for any help

skp

-- 
 [ signature omitted ] 

Message 3 in thread

Maybe the 2 images have different format? One needing a plugin, while the other is a built-in format?

did you provide the image plugins at the proper location?

Cheers,
Peter

> -----Ursprüngliche Nachricht-----
> Von: suryakant@xxxxxxxxx [mailto:suryakant@xxxxxxxxx] Im 
> Auftrag von Suryakant Patidar
> Gesendet: Donnerstag, 20. März 2008 12:18
> An: qt-interest@xxxxxxxxxxxxx
> Betreff: Fwd: QPixmap Issue in Release Version
> 
> Hey,
> 
>        I have build my qt application with release mode.
> Executable is provided with all the input data and DLLs
> which are required.
> 
> The application launches on a non-qt non-VC++ machine 
> ( which is supposed to be happening ). 
> 
> Although there is a QLabel which holds an image, displays 
> the Image properly, another TreewidgetItem (clicking signal) 
> which sets a Pixmap does not show up the Image. 
> 
> How can just one specific function not work without any
> warnings or errors reported while compilation ?
> 
> Thank you for any help
> 
> skp
> 
> -- 
> ===============
> Suryakant Patidar
> http://skp.co.in
> =============== 
> 

--
 [ signature omitted ] 

Message 4 in thread

Yes, there is a way:
http://doc.trolltech.com/4.3/plugins-howto.html#static-plugins

Cheers,
Peter

P.S.
Please reply to the list, not to me in private. 

> -----Ursprüngliche Nachricht-----
> Von: suryakant@xxxxxxxxx [mailto:suryakant@xxxxxxxxx] Im 
> Auftrag von Suryakant Patidar
> Gesendet: Dienstag, 25. März 2008 13:06
> An: Peter Prade
> Betreff: Re: QPixmap Issue in Release Version
> 
> Hey Peter,
>                Thanks for the reply, I figured it out moments 
> after I posted it second time.
> But again, I was not aware that I can use plugins with static 
> build. As posted on
> one of the pages of Trolltech (deployment-windows.html)
> 
>  
> 
> 	Since we cannot deploy plugins using the static linking 
> approach, 
> 
> 	the application we have prepared is incomplete. It will 
> run, but the 
> 	functionality will be disabled due to the missing 
> plugins. To deploy 
> 	plugin-based applications we should use the shared 
> library approach.
> 
> 
> Is there a way to use the plugins, in fact as of now just the 
> in built plugins 
> like JPEG / TIFF loader, with STATICally built App ?
> 
> Thank you
> skp
> 
> On Thu, Mar 20, 2008 at 7:45 PM, Peter Prade wrote:
> 
> 	Maybe the 2 images have different format? One needing a 
> plugin, while the other is a built-in format?
> 	
> 	did you provide the image plugins at the proper location?
> 	
> 	Cheers,
> 	Peter

--
 [ signature omitted ] 

Message 5 in thread

That's Great !!

Thanks a lot !

On Tue, Mar 25, 2008 at 6:57 PM, Peter Prade <prade@xxxxxxxxxxx> wrote:

> Yes, there is a way:
> http://doc.trolltech.com/4.3/plugins-howto.html#static-plugins
>
> Cheers,
> Peter
>
> P.S.
> Please reply to the list, not to me in private.
>
> > -----Ursprüngliche Nachricht-----
> > Von: suryakant@xxxxxxxxx [mailto:suryakant@xxxxxxxxx] Im
> > Auftrag von Suryakant Patidar
> > Gesendet: Dienstag, 25. März 2008 13:06
> > An: Peter Prade
> > Betreff: Re: QPixmap Issue in Release Version
> >
> > Hey Peter,
> >                Thanks for the reply, I figured it out moments
> > after I posted it second time.
> > But again, I was not aware that I can use plugins with static
> > build. As posted on
> > one of the pages of Trolltech (deployment-windows.html)
> >
> >
> >
> >       Since we cannot deploy plugins using the static linking
> > approach,
> >
> >       the application we have prepared is incomplete. It will
> > run, but the
> >       functionality will be disabled due to the missing
> > plugins. To deploy
> >       plugin-based applications we should use the shared
> > library approach.
> >
> >
> > Is there a way to use the plugins, in fact as of now just the
> > in built plugins
> > like JPEG / TIFF loader, with STATICally built App ?
> >
> > Thank you
> > skp
> >
> > On Thu, Mar 20, 2008 at 7:45 PM, Peter Prade wrote:
> >
> >       Maybe the 2 images have different format? One needing a
> > plugin, while the other is a built-in format?
> >
> >       did you provide the image plugins at the proper location?
> >
> >       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/
>
>


-- 
 [ signature omitted ]