On Wednesday December 17 2014 20:00:30 Liang Jian wrote:

> Wrong JPEG library version: library is 62, caller expects 80
> 
>     I guess this is because qt library shipped in iOS are static libraries
> and Qt itself will also link against libjpeg, and if I specify -lturbojpeg
> in my .pro file, the linker will choose libjpeg-turbo to link and since
> libjpeg-turbo only implement version 6.2 of libjpeg while Qt require 8.0.

>     How can I work around this issue? Thanks.

I see 2 possibilities if you insist on using libjpeg-turbo (I presume you have 
already demonstrated to yourself that this library indeed gives a significant 
performance boost on iOS?!)

- rebuild Qt for iOS so that it accepts libjpeg-turbo

or if that's not feasible,

- figure out how to change libjpeg-turbo's functions just enough so you can 
have both libraries linked, and then call the turbo functions from your code 
where required.

R.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to