Detecting Qt libraries in the 'framework' format
An open source project i volunteer with has recently begun work on a Qt client to go alongside the other interfaces. We use the traditional command line configure and make process, and while we are able to build against Qt on linux systems we are so far unable to detect the Qt library on OSX, since those have Qt as a framework. Web searches for "configure detect framework" turn up about a billion hits that have no relevance - can somebody please point me to a FAQ or [better yet] an example project that has successfully dealt with this?
Qt 4.7: Developing Qt Applications for Mac OS X
Qt 4.7: Deploying an Application on Mac OS X
autotools are not very common for pure Qt projects. You might get a quicker answer in some autotools forum.
Of course you could also consider moving to CMake, another more modern configuration tool.
CMake would be a better option than autotools.
Next question, and i guess i'll leave it in this thread:
Does libQtGUI exist in the framework? I can't find it with 'locate' and i don't see it when i manually inspect QtGui.framework.
The path is
which is a symlink to
It's not forbidden to 'cd' into the directories and look yourself ;-P
As i said, i had manually inspected the framework. I was expecting to find something that started with 'lib' and so ignored QtGui.
Ok, thought you had not seen that files.
Seems to be another incarnation of Apple's former claim "Think different" :-)
Oh, and be aware - this naming schemes holds for framework libraries (those within a xxx.framework bundle) only. "Regular" libraries are named the usual libFooBar.dylib, including Qt plugins.