[Interest] [Qt-iOS] How can I linked to libjpeg-turbo?

2014-12-17 Thread Liang Jian
My project use Qt 5.4.0, Some part of my app will decode jpeg file to YUV buffer, to achieve this with fast speed I choose libjpeg-turbo(I use the prebuilt iOS version 1.3.1). It works well in Windows and OSX, but failed in iOS. The app fail to launch with the following message: Wrong JPEG

Re: [Interest] [Qt-iOS] How can I linked to libjpeg-turbo?

2014-12-17 Thread René J . V . Bertin
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

Re: [Interest] [Qt-iOS] How can I linked to libjpeg-turbo?

2014-12-17 Thread Liang Jian
First of all, thank you for the reply! libjpeg-turbo uses NEON instruction to accelerate decoding, it should give significant performance boost. And since QImage will decode jpeg file into ARGB pixel format which will introduce YUV--RGB color space conversion, it is slow to do it in CPU.

Re: [Interest] [Qt-iOS] How can I linked to libjpeg-turbo?

2014-12-17 Thread Liang Jian
I will try it, thanks. On Wed, Dec 17, 2014 at 10:03 PM, René J.V. rjvber...@gmail.com wrote: On Wednesday December 17 2014 21:21:29 Liang Jian wrote: The second way require modification of libjpeg-turbo ( maybe remove the entire old libjpeg style API ) which is beyond me. It's