Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set/Enforce Minimum supported macOS version #20459

Open
xavier2k6 opened this issue Feb 22, 2024 · 1 comment
Open

Set/Enforce Minimum supported macOS version #20459

xavier2k6 opened this issue Feb 22, 2024 · 1 comment
Labels
Build system Issue with the build configuration or scripts (but not the code itself) OS: macOS Issues specific to macOS Project management

Comments

@xavier2k6
Copy link
Member

qBittorrent & operating system versions

qBittorrent: 4.x/master
OS: macOS

What is the problem?

In below PR, a Min. macOS version was set:

However it seemed that this PR may have not fully done what it was intended to do. See #19066 (comment)


In below PR, QMake Support was removed in master

  • Now, there's no set minimum for macOS in master & we need to review/correctly set this.
    # This variable name should be changed once qmake is no longer used. Refer to the discussion in PR #14813
    set(MACOSX_DEPLOYMENT_TARGET ${CMAKE_OSX_DEPLOYMENT_TARGET})

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

No response

@xavier2k6 xavier2k6 added OS: macOS Issues specific to macOS Project management labels Feb 22, 2024
@xavier2k6 xavier2k6 added the Build system Issue with the build configuration or scripts (but not the code itself) label Feb 22, 2024
@sledgehammer999
Copy link
Member

The Qt docs say that Qt sets the minimum required target to CMAKE_OSX_DEPLOYMENT_TARGET.
Reading the whole thread in #14813 it seems that this:

set(MACOSX_DEPLOYMENT_TARGET ${CMAKE_OSX_DEPLOYMENT_TARGET})

is required for substituting the MACOSX_DEPLOYMENT_TARGET in the Info.plist file. They were forced to leave that var name for compatibility reasons with qmake. Now that qmake is gone, the var name should be changed to something else because the same var name is also used by cmake itself to derive CMAKE_OSX_DEPLOYMENT_TARGET (and this leads to confusion to readers).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build system Issue with the build configuration or scripts (but not the code itself) OS: macOS Issues specific to macOS Project management
Projects
None yet
Development

No branches or pull requests

2 participants