Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[Solved]Is it safe to use gcc to compile the Qt programs on mac?



  • Using the prebuild Qt with clang3.2, but I would like to prefer gcc
    because I need the power of openMP. I try gcc and it works fine
    on the prebuild version of Qt, but I am not sure this is safe to do or not.


  • Moderators

    Yes, gcc and clang are binary compatible. You can use them as much as you like. Just remember that Apple wants to deprecate and remove gcc from future OS releases.


Log in to reply