-
Notifications
You must be signed in to change notification settings - Fork 225
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
Upgrade iOS Build to Qt6 #3445
Upgrade iOS Build to Qt6 #3445
Conversation
3bb56b5
to
efdf705
Compare
# We may need to create the Qt installation directory and chown it to the runner user to fix permissions | ||
sudo mkdir -p "${QT_DIR}" | ||
sudo chown "$(whoami)" "${QT_DIR}" | ||
# Create and enter virtual environment | ||
python3 -m venv venv | ||
# Must hide directory as it just gets created during execution of the previous command and cannot be found by shellcheck | ||
# shellcheck source=/dev/null | ||
source venv/bin/activate | ||
pip install "aqtinstall==${AQTINSTALL_VERSION}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed to be in line with macOS
@@ -59,13 +67,12 @@ setup() { | |||
# Starting with Qt6, ios' qtbase install does no longer include a real qmake binary. | |||
# Instead, it is a script which invokes the mac desktop qmake. | |||
# As of aqtinstall 2.1.0 / 04/2022, desktop qtbase has to be installed manually: | |||
python3 -m aqt install-qt --outputdir "${QT_DIR}" mac desktop "${QT_VERSION}" --archives qtbase | |||
python3 -m aqt install-qt --outputdir "${QT_DIR}" mac desktop "${QT_VERSION}" --archives qtbase qttools |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Necessary to have lrelease in the correct spot. Otherwise the build fails.
This still has some UI issues. However, upgrading is needed as the CI no longer supports older macOS versions
efdf705
to
93e89de
Compare
Tested, and it works as expected (with the known UI bugs) |
# Build failed with CodeQL enabled when last tested 03/2022 (#2490). | ||
# There are no hints that iOS is supposed to be supported by CodeQL. | ||
# Therefore, disable it: | ||
run_codeql: false | ||
# Unfortunately, more modern Xcode versions no longer seem to support | ||
# Qt 5.15.2. Therefore upgrading to Qt6 is needed in the medium term (#2711) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So does this "Fixes: #2711", too? Or was this comment a bit overoptimistic?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved on the grounds the iOS build completed.
Short description of changes
Upgrades the iOS build to Qt6. There are still some UI issues (e.g. the mixer has some overflows, see #3406)
CHANGELOG: iOS: Upgrade build to Qt 6
Context: Fixes an issue?
Related to: #3406
Does this change need documentation? What needs to be documented and how?
Yes. This will make the UX worse due to UI bugs introduced with Qt6.
Status of this Pull Request
Testing on an actual device. Will do that soon.
What is missing until this pull request can be merged?
Testing.
Checklist