Important: Please read the Qt Code of Conduct -

Mac os versions

  • Is there a way to compile a project in Mac which works for all the Mac OS versions, including the recent one, Catalina?
    does providing these flags, do the job?

    QMAKE_CFLAGS += -mmacosx-version-min=10.6
    QMAKE_CXXFLAGS += -mmacosx-version-min=10.6

    MacOS 10.14: Mojave- 2018.
    MacOS 10.13: High Sierra- 2017.
    MacOS 10.12: Sierra- 2016.
    OS X 10.11: El Capitan- 2015.
    OS X 10.10: Yosemite-2014.
    OS X 10.9 Mavericks-2013.
    OS X 10.8 Mountain Lion- 2012.
    OS X 10.7 Lion- 2011.

Log in to reply