Skip to content

Add early failure for too old macOS, XCode or target macOS version#678

Merged
macumber merged 2 commits intoopenstudiocoalition:developfrom
mduvanel:add-macos-early-failure
Feb 5, 2024
Merged

Add early failure for too old macOS, XCode or target macOS version#678
macumber merged 2 commits intoopenstudiocoalition:developfrom
mduvanel:add-macos-early-failure

Conversation

@mduvanel
Copy link
Contributor

@mduvanel mduvanel commented Feb 2, 2024

Qt6 mandates to target macOS 11.0 or greater, but also to have XCode 13 or greater to compile. See this explicit error from the lrelease utility using XCode 12 on macOS 10.15.7:

FAILED: translations/OpenStudioApp_de.qm /.../OpenStudioApplication/build/translations/OpenStudioApp_de.qm
cd /.../OpenStudioApplication/build/translations && /.../Qt/6.6.1/macos/bin/lrelease /.../OpenStudioApplication/translations/OpenStudioApp_de.ts -qm /...OpenStudioApplication/build/translations/OpenStudioApp_de.qm
Sorry, "lrelease" cannot be run on this version of macOS. Qt requires macOS 11.0.0 or later, you have macOS 10.15.7.

This PR adds early checks for these hard requirements.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 2, 2024

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@mduvanel
Copy link
Contributor Author

mduvanel commented Feb 2, 2024

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Feb 2, 2024
@mduvanel mduvanel force-pushed the add-macos-early-failure branch from ff6fcdf to eea0628 Compare February 2, 2024 14:31
@mduvanel mduvanel force-pushed the add-macos-early-failure branch from 10667fb to b835b93 Compare February 5, 2024 13:39
@macumber
Copy link
Collaborator

macumber commented Feb 5, 2024

I will merge once CI completes, thanks!

@mduvanel
Copy link
Contributor Author

mduvanel commented Feb 5, 2024

I will merge once CI completes, thanks!

Thank you for the quick turnaround!

@macumber macumber merged commit 12fa55c into openstudiocoalition:develop Feb 5, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments