[Development] About the presence of /System/Library/Frameworks/Carbon.framework

Konstantin Tokarev annulen at yandex.ru
Thu Dec 21 11:47:34 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?

Check uname maybe?

> 
> R.
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
-- 
Regards,
Konstantin



More information about the Development mailing list