[Interest] Qt conflict with libjpeg-turbo between 5.4 and 5.6

Etienne Sandré-Chardonnal etienne.sandre at m4x.org
Thu Jul 7 16:54:22 CEST 2016


Thanks for your help!

Etienne

2016-07-07 9:46 GMT+02:00 Allan Sandfeld Jensen <kde at carewolf.com>:

> On Wednesday 06 July 2016, Etienne Sandré-Chardonnal wrote:
> > Hi,
> >
> > I use libjpeg-turbo in my app for some time now.
> >
> > Since I switched to Qt 5.6 (from Qt 5.4), reading any Jpeg image with
> > QPixmap crashes the app.
> >
> > Is this a lib conflict? I linked with both Qt and libjpeg-turbo
> statically.
> > Could changing either to dynamic link solve the problem?
> >
> > Thanks!
>
> libjpeg-turbo hasn't implemented everything libjpeg has (if I remember
> correctly it has implemented libjpeg v8 but not libjpeg v9) , and Qt will
> use
> some of the libjpeg features libjpeg-turbo is missing if build against
> libjpeg. So as Konstantin said; you must use the same library version when
> building Qt and your application.
>
> `Allan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160707/1457f1fd/attachment.html>


More information about the Interest mailing list