Skip to content

Conversation

@softins
Copy link
Member

@softins softins commented May 8, 2021

When testing a build for Mac with Qt 5.15.2, the following warning was received:

Project WARNING: Qt has only been tested with version 10.15 of the platform SDK, you're using 11.1.
Project WARNING: This is an unsupported configuration. You may experience build issues, and by using
Project WARNING: the 11.1 SDK you are opting in to new features that Qt has not been prepared for.
Project WARNING: Please downgrade the SDK you use to build your app to version 10.15, or configure
Project WARNING: with CONFIG+=sdk_no_version_check when running qmake to silence this warning.

This is because the default macOS build environment on Github is now using Xcode 12, which by default uses the 11.1 SDK.

Although Qt 5.9.9 does not give this warning, it seems likely that is because it just doesn't check, and it would seem reasonable to conclude that any potential incompatibility between Qt 5.15.2 and the 11.1 SDK would be even more the case with Qt 5.9.9.

This PR uses the action from https://github.com/marketplace/actions/setup-xcode-version to explicitly request Xcode 11.7, which by default uses the 10.15 SDK.

@softins softins requested a review from nefarius2001 May 8, 2021 12:06
@hoffie hoffie added this to the Release 3.8.0 milestone May 8, 2021
Copy link
Member

@hoffie hoffie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! :)

@softins softins merged commit a071de5 into jamulussoftware:master May 8, 2021
@softins softins deleted the mac-use-xcode-11 branch May 8, 2021 21:51
hoffie added a commit to hoffie/jamulus that referenced this pull request May 31, 2021
Let the autobuild default to latest xcode (= 12.x) again, but still
ensure that we limit SDK support to 10.15 due to lack of Qt-wise support
for newer versions.

This is a different approach to the already merged jamulussoftware#1655.
This change has a (low) chance of fixing recent Mac issues on Big Sur
(jamulussoftware#1643, jamulussoftware#1791). At least, it makes us use the latest officially
recommended setup.

This only touches the regular Mac build, not the legacy build.

Support matrix:
https://doc.qt.io/qt-5/macos.html

Variables:
https://doc.qt.io/qt-5/qmake-variable-reference.html#qmake-mac-sdk

Explanations:
https://doc.qt.io/qt-5/macos-deployment.html
hoffie added a commit to hoffie/jamulus that referenced this pull request May 31, 2021
Let the autobuild default to latest xcode (= 12.x) again, but still
ensure that we limit SDK support to 10.15 due to lack of Qt-wise support
for newer versions.

This is a different approach to the already merged jamulussoftware#1655.
This change has a (low) chance of fixing recent Mac issues on Big Sur
(jamulussoftware#1643, jamulussoftware#1791). At least, it makes us use the latest officially
recommended setup.

This only touches the regular Mac build, not the legacy build.

Support matrix:
https://doc.qt.io/qt-5/macos.html

Variables:
https://doc.qt.io/qt-5/qmake-variable-reference.html#qmake-mac-sdk

Explanations:
https://doc.qt.io/qt-5/macos-deployment.html
hoffie added a commit to hoffie/jamulus that referenced this pull request May 31, 2021
Let the autobuild default to latest xcode (= 12.x) again, but still
ensure that we limit SDK support to 10.15 due to lack of Qt-wise support
for newer versions.

This is a different approach to the already merged jamulussoftware#1655.
This change has a (low) chance of fixing recent Mac issues on Big Sur
(jamulussoftware#1643, jamulussoftware#1791). At least, it makes us use the latest officially
recommended setup.

This only touches the regular Mac build, not the legacy build.

Support matrix:
https://doc.qt.io/qt-5/macos.html

Variables:
https://doc.qt.io/qt-5/qmake-variable-reference.html#qmake-mac-sdk

Explanations:
https://doc.qt.io/qt-5/macos-deployment.html
hoffie added a commit to hoffie/jamulus that referenced this pull request May 31, 2021
Let the autobuild default to latest xcode (= 12.x) again, but still
ensure that we limit SDK support to 10.15 due to lack of Qt-wise support
for newer versions.

This is a different approach to the already merged jamulussoftware#1655.
This change has a (low) chance of fixing recent Mac issues on Big Sur
(jamulussoftware#1643, jamulussoftware#1791). At least, it makes us use the latest officially
recommended setup.

This only touches the regular Mac build, not the legacy build.

Support matrix:
https://doc.qt.io/qt-5/macos.html

Variables:
https://doc.qt.io/qt-5/qmake-variable-reference.html#qmake-mac-sdk

Explanations:
https://doc.qt.io/qt-5/macos-deployment.html
hoffie added a commit to hoffie/jamulus that referenced this pull request May 31, 2021
Let the autobuild default to latest xcode (= 12.x) again, but still
ensure that we limit SDK support to 10.15 due to lack of Qt-wise support
for newer versions.

This is a different approach to the already merged jamulussoftware#1655.
This change has a (low) chance of fixing recent Mac issues on Big Sur
(jamulussoftware#1643, jamulussoftware#1791). At least, it makes us use the latest officially
recommended setup.

This only touches the regular Mac build, not the legacy build.

Support matrix:
https://doc.qt.io/qt-5/macos.html

Variables:
https://doc.qt.io/qt-5/qmake-variable-reference.html#qmake-mac-sdk

Explanations:
https://doc.qt.io/qt-5/macos-deployment.html
hoffie added a commit to hoffie/jamulus that referenced this pull request May 31, 2021
Let the autobuild default to Xcode 12 again, but still ensure
that we limit SDK support to 10.15 due to lack of Qt-wise support
for newer versions.

This is a different approach to the already merged jamulussoftware#1655.

We are limited to <= Xcode-12.0 though because we require SDK 10.15
which is not shipped on more recent versions anymore.
This change has a (low) chance of fixing recent Mac issues on Big Sur
(jamulussoftware#1643, jamulussoftware#1791). At least, it makes us use the latest officially
recommended setup.

This only touches the regular Mac build, not the legacy build.

Support matrix:
https://doc.qt.io/qt-5/macos.html

Variables:
https://doc.qt.io/qt-5/qmake-variable-reference.html#qmake-mac-sdk

Explanations:
https://doc.qt.io/qt-5/macos-deployment.html
hoffie added a commit to hoffie/jamulus that referenced this pull request May 31, 2021
Let the autobuild default to Xcode 12 again, but still ensure
that we limit SDK support to 10.15 due to lack of Qt-wise support
for newer versions.

This is a different approach to the already merged jamulussoftware#1655.

We are limited to <= Xcode-12.0 though because we require SDK 10.15
which is not shipped on more recent versions anymore.
This change has a (low) chance of fixing recent Mac issues on Big Sur
(jamulussoftware#1643, jamulussoftware#1791). At least, it makes us use the latest officially
recommended setup.

This only touches the regular Mac build, not the legacy build.

Support matrix:
https://doc.qt.io/qt-5/macos.html

Variables:
https://doc.qt.io/qt-5/qmake-variable-reference.html#qmake-mac-sdk

Explanations:
https://doc.qt.io/qt-5/macos-deployment.html
hoffie added a commit to hoffie/jamulus that referenced this pull request May 31, 2021
Let the autobuild default to Xcode 12 again, but still ensure
that we limit SDK support to 10.15 due to lack of Qt-wise support
for newer versions.

This is a slightly different approach to the already merged jamulussoftware#1655.

We are limited to <= Xcode-12.1.1 though because we require SDK 10.15
which is not shipped on more recent versions anymore.
This change has a (low) chance of fixing recent Mac issues on Big Sur
(jamulussoftware#1643, jamulussoftware#1791). At least, it makes us use the latest officially
recommended setup.

This only touches the regular Mac build, not the legacy build.

Support matrix:
https://doc.qt.io/qt-5/macos.html

Variables:
https://doc.qt.io/qt-5/qmake-variable-reference.html#qmake-mac-sdk

Explanations:
https://doc.qt.io/qt-5/macos-deployment.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants