Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.0, 5.10.0 Alpha
-
fc2c4edcbda8be88900201383b5113e234b09d71
Description
i'm compiling qt against a custom freetype and a custom zlib.
configured via:
-system-freetype -I /Users/tim/dev/qt5/3rdparty-builds/freetype/include -L /Users/tim/dev/qt5/3rdparty-builds/freetype/lib/osx -system-zlib -I /Users/tim/dev/qt5/3rdparty-builds/zlib/ -L /Users/tim/dev/qt5/3rdparty-builds/zlib/lib/osx
however i get the following compile error:
Undefined symbols for architecture x86_64: "_inflate", referenced from: _FT_Gzip_Uncompress in libfreetype.a(ftgzip.o) _ft_gzip_file_fill_output in libfreetype.a(ftgzip.o) "_inflateEnd", referenced from: _FT_Stream_OpenGzip in libfreetype.a(ftgzip.o) _ft_gzip_stream_close in libfreetype.a(ftgzip.o) _FT_Gzip_Uncompress in libfreetype.a(ftgzip.o) "_inflateInit2_", referenced from: _FT_Stream_OpenGzip in libfreetype.a(ftgzip.o) _FT_Gzip_Uncompress in libfreetype.a(ftgzip.o) "_inflateReset", referenced from: _FT_Stream_OpenGzip in libfreetype.a(ftgzip.o) _ft_gzip_file_io in libfreetype.a(ftgzip.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
to resolve this issue, i have to use this patch locally: https://codereview.qt-project.org/#/c/194175/