[Qtce-preview-feedback] Pixmap on GraphicsView
Manoj Agrawal
manoj.a at embitel.com
Tue Mar 4 13:44:27 CET 2008
Hi,
Thanks for such a detailed description. I did the same (before reading
your email) and it worked. :-)
Regards,
Manoj
Jörg Bornemann wrote:
> Manoj Agrawal wrote:
>
>> I am simply trying to display a pixmap on GrahpicsView but it shows
>> nothing. Please help.
>
> My first guess is that your Qt application can't find the proper
> plugins for image formats. So either you should use png pixmaps (which
> are directly supported) or you deploy the plugin for the image format
> you are using.
>
> For example, if you are using JPEG images you should make sure that
> the file
> <here-resides-qt>\plugins\imageformats\qjpeg4.dll
> is available on your device in a subdir named imageformats below your
> application directory:
> \Program Files\ManojsApp\imageformats\qjpeg4.dll
>
> In the final Qt/WinCE 4.4.0 release we will provide a comfortable way
> to deploy Qt plugins. At the moment you have to add something like
> this to your .pro file:
>
> wince*: {
> pluginFiles.sources =
> <here-resides-qt>\plugins\imageformats\qjpeg4.dll
> pluginFiles.path = \Program Files\ManojsApp\imageformats
> DEPLOYMENT += pluginFiles
> }
>
> Hint: in debug mode the plugin names have a 'd' added to their name
> (qjpegd4.dll, qgifd4.dll, ...).
>
>
> Best regards,
>
> Joerg
>
>
More information about the Qt-wince-interest
mailing list