[Interest] iOS libpng conflicts with another lib

Konstantin Tokarev annulen at yandex.ru
Tue Feb 6 11:41:39 CET 2018



06.02.2018, 13:28, "maitai" <maitai at virtual-winds.org>:
> Hello,
>
> I have an external lib build statically into my qt app (5.9.4,
> widget-based). That lib can optionally support internally png images. If
> I activate this, there is no problems in other platforms (I tested
> Android, Windows, Linux, Raspberry, MacOS), but on iOS as soon as I try
> to open a png image with a QPixmap or a QImage it crashes. If I compile
> my external lib without png support no more crash.
>
> So it appears that libpng from Qt and the one from my lib are
> conflicting, but only on iOS.
>
> Any idea why this occurs on iOS and what I could do to avoid the crash?

Build both Qt and that library against same libpng

> I badly need png support in both qt and the external lib.
>
> Thanks
> Philippe
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-- 
Regards,
Konstantin




More information about the Interest mailing list