07.02.2018, 16:25, "maitai" <mai...@virtual-winds.org>: > Yes I know, but if I use jpeg2000 i will have another conflict for sure > since I do use jpeg2000 lib (and jasper) to decode gribs in my app.
Apple's decoder should not conflict with jasper. However, I would not recommend to use jasper for anything, it's obsolete and very incomplete implementation (IIRC it support no extensions from part 2) I > agree Webp is another possibility, since it is also supported by gdal, I > might gice it a try, thanks. > > Le 07-02-2018 13:56, Konstantin Tokarev a écrit : >> 07.02.2018, 15:46, "maitai" <mai...@virtual-winds.org>: >>> Thanks Konstantin for the good advices, I'll keep that in mind if >>> finally I decide to give it a try. For the time being I managed to >>> cheat >>> by using a tif instead of a png, just for iOS. >> >> That's not the best format. Try jpeg2k or webp instead (plugins "webp" >> and "macjp2" in qtimageformats module) >> >>> Thanks again >>> Philippe. >>> >>> Le 07-02-2018 13:12, Konstantin Tokarev a écrit : >>>> 07.02.2018, 09:44, "maitai" <mai...@virtual-winds.org>: >>>>> Thanks you for your replies >>>>> >>>>> I will decide to compile qt on iOS when I will be retired and >>>>> nothing >>>>> else to do, too much a pain with lipo and all ;) >>>> >>>> lipo is not hard to use at all, however there should be no need to >>>> use >>>> it when building Qt. >>>> >>>> Fo example, configure line [1] initiates build for 4 architectures >>>> (-arch armv7 -arch arm64 -arch i386 -arch x86_64) >>>> >>>> See build log [2] for example (this is build configuration used for >>>> official >>>> iOS packages). >>>> >>>> All you need to change is to add -I and -L options to configure to >>>> specify >>>> location of libpng headers and library. Make sure that configure >>>> summary >>>> states "Using system libpng .... yes". >>>> >>>> [1] configure -xplatform macx-ios-clang -no-sql-mysql -no-sql-psql >>>> -plugin-sql-sqlite -opensource -confirm-license -nomake tests >>>> -verbose >>>> -prefix /Users/qt/work/install -debug-and-release -static -no-icu >>>> -nomake examples >>>> >>>> [2] >>>> >>>> https://testresults.qt.io/coin/api/results/qt/qtbase/1860a91eeb370b10677cb1813752739361011015/MacOSMacOS_10_12x86_64IOSIOS_ANYmultiClangqtci-macos-10.12-x86_64-8-9dffb3DebugAndRelease_DisableTests_Static/2a48a3b7dcb9652b1532a3ad14de7580b5b9b1ee/build_1517672826/log.txt.gz >>> >>> _______________________________________________ >>> Interest mailing list >>> Interest@qt-project.org >>> http://lists.qt-project.org/mailman/listinfo/interest > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest -- Regards, Konstantin _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest