[Interest] iOS libpng conflicts with another lib
Konstantin Tokarev
annulen at yandex.ru
Wed Feb 7 13:12:37 CET 2018
07.02.2018, 09:44, "maitai" <maitai at 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
--
Regards,
Konstantin
More information about the Interest
mailing list