When specifying "-separate-debug-info" on OS X builds, configure fails due to the missing variable QMAKE_OBJCOPY.
Unfortunately, one cannot easily set this variable to "QMAKE_OBJCOPY = objcopy" like for the Linux builds as objcopy is not available on OS X.
There are workarounds available which use a ported version of the Unix/Linux objcopy on OS X.
However, I am not an OS X expert and others certainly know how to fix this properly.
./configure -v \
-platform macx-clang \
-nomake examples \
-nomake tests \
This is the Qt Open Source Edition.
You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.
You have already accepted the terms of the Open Source license.
Precompiled-headers support enabled.
Separate debug info check skipped, QMAKE_OBJCOPY is unset.
Separate debug info support disabled.
ERROR: -separate-debug-info was requested but this binutils does not support it.
Re-run configure with -v for more information
make: *** [configure] Error 1
make: *** [QtBase] Error 2
|For Gerrit Dashboard: QTBUG-37952|
|154799,15||qmake: Add support for separate debug info on Apple platforms.||5.6||qt/qtbase||Status: MERGED||+2||0|