Build issue after OSX El Capitan Upgrade

  • I am getting a compiler message after upgrading to OSX El Capitan that is the following:

    :-1: warning: no such sysroot directory: '/Applications/'

    My SDK is currently at MacOSX10.11.sdk.

    Does this require a recompile of the Qt SDK with the new Xcode 7 command line tools? Or is there a configuration file in the build where I can set the SDK environment variable?

    I haven't been able to fine any documentation on Qt5.5 where this parameter resides.

  • I had the same issue. The following addition to my project file helped:

    QMAKE_MAC_SDK = macosx10.11

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.