Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-63115

Qt doesn't build against custom freetype / zlib

    XMLWordPrintable

Details

    • 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/

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            timblechmann tim blechmann
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes