[Interest] static libs/osx

Tim Blechmann tim at klingt.org
Tue Dec 17 11:14:17 CET 2013


>>> 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.

ok, then i wonder: how do i compile qt/osx as static libraries with all
headers appearing the the build folder in a way that i am not on my own?

btw, the -framework/-no-framework switch seems to have no effect when
compiling static libs. bug or feature?

thanks a lot,
tim





More information about the Interest mailing list