[Qt-interest] How do I use frameworks with qmake on the Mac?
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Fri Jan 14 10:25:33 CET 2011
On 2011-01-13 Nikos Nikos Chantziaras wrote:
> ...
> Nope, not the frameworks since Mac OS X does not have pkg-config installed.
Ah, then it seems that pkg-config was a dependency of some library (ImageMagick) that I installed via "mac ports" and got installed the same way :)
> ....
> Not with frameworks. I use PKGCONFIG on Linux though.
Again, I never explicitly linked against any framework other than Qt so far, but I noticed that when I start typing
#include <
within Qt Creator it suggests all kind of headers for auto-completion. And not just the Qt headers! I remember this because the first entry is always a header coming from my 3D "Space Mouse", the header of that SDK which starts with 3DConnexion... .h (or the like). This Space Mouse SDK is also installed as Framework, and so far I never took special care to specify those include paths. So at least Qt Creator seems to be able to pick these headers.
That said, I don't know exactly where that 3DConnexion... .h is actually located (I am not at my Mac right now). But maybe the SDL headers in question are not "in a standard location"?
Or maybe the "automatic" part refers to how Qt is able to "extract" and link against the actual *.dynlib files within a given Framework (but you would still have to specify the header file location).
Sorry, I can't help much here.
Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list