[Interest] Struggling to build qt 5.9.9 for iOS

maitai maitai at virtual-winds.org
Sun Aug 11 14:15:31 CEST 2019


FYI based on what you said I added -qt-zlib to configure options, and 
now my app compiles and runs OK. I don't know if it is a normal option 
for such a build

Philippe

Le 11-08-2019 07:22, maitai a écrit :
> Thanks Diago for the answer.
> 
> We are using our own zlib library. The fact is that without changing a
> line of code in our projet it compiles perfectly using 5.9.8, so the
> SDK seems to have everything needed.
> 
> I ended up replacing plugins/platform in 5.9.8 with the one from my
> 5.9.9 build and that fixed my problem at least.
> 
> Philippe
> 
> 
> Le 10-08-2019 22:51, Thiago Macieira a écrit :
>> On Saturday, 10 August 2019 02:03:19 PDT maitai wrote:
>>>   items/qquickshadereffect.cpp:511:20: error: aligned allocation 
>>> function
>>> of type
>>>        'void *(unsigned long, enum std::align_val_t)' is only 
>>> available
>>> on iOS 11
>>>        or newer
>>>          m_glImpl = new QQuickOpenGLShaderEffect(this, this);
>> 
>> Pass -c++14 to configure and please report the issue. This needs to be
>> automatically detected in configure, but the developers who care about 
>> iOS
>> have probably not been made aware of this problem.
>> 
>> (I'm not one of them)
>> 
>>> So then after some researches I tried to add -c++std c++14 to 
>>> configure
>> 
>> Right.
>> 
>>> Undefined symbols for architecture arm64:
>>>    "_inflateValidate", referenced from:
>>>        _png_inflate_claim in libqtlibpng.a(pngrutil.o)
>>> 
>>> ld: symbol(s) not found for architecture arm64
>>> clang: error: linker command failed with exit code 1 (use -v to see
>>> invocation)
>> 
>> That symbol comes from zlib. Are you using Qt's copy or the one that 
>> comes
>> with the system (if any)? My guess is the latter. Can you confirm the 
>> SDK copy
>> *does* have the function in question?
>> 
>> Or is it named z_inflateValidate?
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest


More information about the Interest mailing list