[Interest] static libs/osx

Thiago Macieira thiago.macieira at intel.com
Mon Dec 16 17:38:30 CET 2013


On segunda-feira, 16 de dezembro de 2013 14:26:12, Tim Blechmann wrote:
> > Undefined symbols for architecture x86_64:
> >   "_compress2", referenced from:
> >       qCompress(unsigned char const*, int, int) in
> >libQt5Bootstrap.a(qbytearray.o) "_uncompress", referenced from:
> >       qUncompress(unsigned char const*, int) in
> >libQt5Bootstrap.a(qbytearray.o)>
> > ld: symbol(s) not found for architecture x86_64
> >
> > Undefined symbols for architecture x86_64:
> >   "_compress2", referenced from:
> >       qCompress(unsigned char const*, int, int) in
> >libQt5Bootstrap.a(qbytearray.o)>
> > clang: error: linker command failed with exit code 1 (use -v to see
> > invocation) make[3]: *** [../../../bin/rcc] Error 1
> >
> >   "_uncompress", referenced from:
> >       qUncompress(unsigned char const*, int) in
> >libQt5Bootstrap.a(qbytearray.o)
> any idea? or even better: some documentation on how to compile qt as
> static library on osx

No one tries that. You're entirely on your own. Patches will be accepted once 
you get it working.

For those cases, see about including zlib.pri or zlib_dependency.pri in 
bootstrap.pri. See the other .pri files that include zlib (tools.pri, something 
in QtGui and something in QtNetwork too).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131216/8d2da59a/attachment.sig>


More information about the Interest mailing list