Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76167

CMake: Minimum macOS deployment target is not set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • 5.15.1, 6.0.0
    • 5.12.3, 5.14.0
    • Build System: CMake
    • None
    • macOS

    Description

      Qt has a minimum required macOS version, and for qmake builds it reflects that in QMAKE_MACOSX_DEPLOYMENT_TARGET, which results in a corresponding "-mmacosx-version-min=..." flag being passed to the compiler/linker.

      CMake has a corresponding variable CMAKE_OSX_DEPLOYMENT_TARGET , but Qt's CMake files don't seem to give me any corresponding information.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              alexandru.croitor Alexandru Croitor
              con Eike Ziller
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes