[Development] About the presence of /System/Library/Frameworks/Carbon.framework
René J.V. Bertin
rjvbertin at gmail.com
Thu Dec 21 11:35:48 CET 2017
Hi,
Here's a silly one: configuring Qt for building on my Linux rig I was told that I needed Xcode, and how to get it. :)
Long story short, it turns out that the configure script determines whether it's building on Mac by checking if the Carbon framework exists in the designated location. And it turns out that I copied over the entire header dir. structure under /System/Library/Frameworks onto said Linux rig because I use it for cross-platform development.
Apart from the fact that it should probably check for a framework with a more certain future, isn't there a less "rootsy" way of determining whether the script is running on Mac?
R.
More information about the Development
mailing list