[Interest] unable to compile for iOS Simulator

ekke ekke at ekkes-corner.org
Sun May 5 15:07:47 CEST 2019


I had a similar problem with zlib under iOS, where it worked well on Android
to fix this I had to add LIBS += -lz in my .pro

Am 04.05.19 um 18:53 schrieb maitai:
> Thanks for your reply
>
> Yes I have a zlib lib which is linked statically
>
> I'll see if I can remove it just for that case.
>
> Philippe.
>
> Le 04-05-2019 17:50, Thiago Macieira a écrit :
>> On Saturday, 4 May 2019 05:00:24 PDT maitai wrote:
>>> Undefined symbols for architecture x86_64:
>>>    "_inflateValidate", referenced from:
>>>        _png_inflate_claim in libqtlibpng.a(pngrutil.o)
>>> ld: symbol(s) not found for architecture x86_64
>>> clang: error: linker command failed with exit code 1 (use -v to see
>>> invocation)
>>>
>>> Same project compiles normally for regular iOS.
>>
>> Are you building with system zlib or not? The bundled copy of it in
>> Qt has
>> inflateValidate and you're using the embedded copy of libpng.
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest



More information about the Interest mailing list