[Interest] Qt4.8.5 redefining MAC_OS_X_VERSION_MIN_REQUIRED
cotton at alum.mit.edu
Sun Dec 22 18:05:35 CET 2013
I'm trying to build an application which uses Qt and, elsewhere, requires
OSX features from 10.7 and beyond. I'm compiling with
-mmacosx-version-min=10.7. However, qglobal.h redefines
# ifdef MAC_OS_X_VERSION_MIN_REQUIRED
# undef MAC_OS_X_VERSION_MIN_REQUIRED
# define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_4
# include <AvailabilityMacros.h>
and this wreaks havoc elsewhere in the application. Can anyone explain how
this is supposed to work? How does one compile an application on OSX 4.8.5
for 4.7+? Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest