Shamus, on Thu Jun 23, 2011 8:38 PM, said:
I'm really having a hard time understanding the difficulty here, if Qt installs itself and the environment is sane it should have includes and headers where the build system can find them. This "Mac Way" vs. "Unix Way" doesn't make the slightest bit of sense, again, if the environment is sane.
The thing I think comes from your definition of "sane", which in turn relates to where libraries and headers are located, and how they can be located.
On a typical linux system, they're all in /usr/local/lib (or /usr/lib) both of which are in the path, right? (been a while since I used linux, might be being forgetful, I never did any dev work under it).
On a mac, they're generally installed in /Library/Frameworks and not in the path.
Shamus, on Thu Jun 23, 2011 8:38 PM, said:
You can open up a terminal and type qmake, right?
Yes, I can. The makefile it spits out includes the following
INCPATH = -I/usr/local/Qt4.6/mkspecs/macx-g++ -I. -I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore -I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui -I/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers -I/usr/include/QtOpenGL -I/usr/include -I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/System/Library/Frameworks/AGL.framework/Headers -I../../obj -F/Library/Frameworks
LIBS = $(SUBLIBS) -F/Library/Frameworks -L/Library/Frameworks -framework QtOpenGL -framework QtGui -framework QtCore -framework OpenGL -framework AGL
If I then try to build just the Qt parts (starting in src/gui and typing make) it complains that it can't find SDL (despite it being installed as both a framework and in /usr/local/lib) and aborts.
Shamus, on Thu Jun 23, 2011 8:38 PM, said:
The only thing that's going to make things any better is an open dialog between the two developer camps, not name calling and ire.

There was no name calling or ire, just a little frustration late at night after being in dependancy hell for a little while.
I always have this kind of trouble building linuxy apps on osx, having to manually install dependancies and do it in the configure/make/install way, rather than using the mac versions of things which come as frameworks. It gets very frustrating, and quite often doesn't work at all due to some linux only requirement that isn't supported.