[Interest] MacOS 10.4 + QT 4.7.4 + my app linking error

Lincoln Ramsay a1291762 at gmail.com
Wed Nov 28 06:28:48 CET 2012

On 28/11/12 14:55, Sergey wrote:
> List of non-found by linker functions became less after linking with zlib.
> But these functions are still not found:
> _CFDataGetBytePtr
> _CFDataGetLength
> _CFDataGetTypeID
> _CFGetTypeID
> ___CFConstantStringClassReference
> _FrontWindow
> _GetCurrentProcess
> _SelectWindow
> _SetFrontProcess
> _ShowWindow
> What must I link additionally to find them?

I seem to recall Mac apps needing to explicitly link to CoreFoundation 
even if they weren't directly using it.

The CFxxx symbols are certainly that library...

It may be that linking to CoreFoundation means you don't need to link to 
zlib too...

mac:LIBS += -framework CoreFoundation


More information about the Interest mailing list