How to build Qt with gcc-6 on macOS
I've been trying to build Qt with gcc-6 (downloaded with homebrew). But I don't have any success: problems of flags compilations (-fconstant-cfstrings instead of -mconstant-cfstrings), many errors while loading the CoreFoundation.framework (error: 'introduced' was not declared in this scope and error: 'deprecated' was not declared in this scope).
Does anyone succeed to build Qt on macOs (Sierra) with gcc-6?
Not likely the answer you expect but Qt is officially only supported with Apple's Xcode.
You'll likely encounter other hurdle getting the build system to use another compiler.