-
Notifications
You must be signed in to change notification settings - Fork 238
Build: Bump Qt6 from 6.8.1 to 6.9.1 (Automated PR) #3407
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
Conversation
cf2dc7c to
e54a6c6
Compare
e54a6c6 to
4209297
Compare
4fef397 to
908b7f4
Compare
908b7f4 to
7d6c516
Compare
7d6c516 to
337d5e6
Compare
42fba64 to
3f643c1
Compare
3f643c1 to
60eeada
Compare
|
PR has been updated for version 6.8.1 by the workflow Bump dependencies (create-prs). |
3262e16 to
e3d19a9
Compare
a2b5b6c to
42eccc7
Compare
|
I'd assume that this breaks on every Qt6 build. |
aee5f0b to
98c9a86
Compare
|
PR has been updated for version 6.9.1 by the workflow Bump dependencies (create-prs). |
98c9a86 to
9a92af9
Compare
|
Still failing -- are we turning on stuff that's not needed for audio? |
|
Maybe that's needed. I thought they fixed it on the Qt side... |
|
Ah: https://codereview.qt-project.org/c/qt/qtmultimedia/+/630015 We might need to add |
|
OK, having read up a bit I'm convinced we stick with the Qt-preferred approach and use FFmpeg... Even if we did that wouldn't remove the dependency, just tell the runtime to ignore FFmpeg and use darwin directly. So yeah, https://doc.qt.io/qt-6/qtmultimedia-apple.html:
looks like it should do the trick -- although it sounds like that's also a deployment time issue:
I'm not sure how much it'll help at build time. |
|
CoPilot took some convincing that it was wrong about this as usual (now out of date documentation being more prevalently referenced in once-correct answers). It's suggested we'd need to amend autobuild.yml (and ios.sh potentially) to build/cache the ffmpeg libraries for the link stage to work. |
|
I also asked if there were any existing actions - but none for iOS, according to CoPilot. It's top answer was:
https://github.com/copilot/share/42365326-43c0-8404-9102-2648a4486807 Now, given that the first of those is FFmpeg 4 and the current version is 7 and the second of those has been archived... I'm thinking we might want to brew from https://github.com/FFmpeg/FFmpeg -- but it'd need someone to knock up the build, possible from cobbling it up from the above. (It does seem to be becoming increasingly difficult to support Qt6 as time progresses...) https://doc.qt.io/qt-6/qtmultimedia-building-ffmpeg-ios.html -- there's actually an official page on how hard it is... |
9a92af9 to
192f203
Compare
|
I'd rather remove the qtmultimedia dependency on iOS if it's really that painful to support |
|
Let's check if this works. |
|
Ok. As expected, I get a black screen on iOS. I would suggest that we either:
|
|
We might also want to debug the iOS build without Qtmultimedia. I've removed the qtmultimedia dependency and respective code. However, the screen still stays black and the debug console does not print anything (except for saying that it detected a hang) |
821d1f2 to
e53b399
Compare
|
I'd like to modify this such that the Windows and macOS builds are updated, but iOS remains on 6.7.3 |
| base_command: QT_VERSION=6.8.1 SIGN_IF_POSSIBLE=1 TARGET_ARCHS="x86_64 arm64" ./.github/autobuild/mac.sh | ||
| base_command: QT_VERSION=6.9.1 SIGN_IF_POSSIBLE=1 TARGET_ARCHS="x86_64 arm64" ./.github/autobuild/mac.sh | ||
| # Disable CodeQL on mac as it interferes with signing the binaries (signing hangs, see #2563 and #2564) | ||
| run_codeql: false |
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.
If we split x86_64 and arm64, could we run CodeQL on the arm64 build? Currently MacOS doesn't get covered except in the legacy build, which is going to get switched off at some point. Given we must have the code right for arm64, it feels like that's the architecture that should get checked?
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.
If we have both architectures, we produce universal builds which is way simpler for the user. We have one binary which runs on M series macs and intel macs. I would rather build those for a bit more (Partly also because I don't own an Apple Silicon mac).
Yes, it would be good to have CodeQL on the non legacy build. But note that arm and x86 builds would need to be signed.
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.
Spin the CodeQL off into a separate flow from the signed build? If it's working off the same git checkout and uses the same build params (without signing), that'll be good enough. Anyway, separate issue.
.github/workflows/autobuild.yml
Outdated
| target_os: ios | ||
| building_on_os: macos-14 | ||
| base_command: QT_VERSION=6.7.3 ./.github/autobuild/ios.sh | ||
| base_command: QT_VERSION=6.9.1 ./.github/autobuild/ios.sh |
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 if we merge this with QT_VERSION here still 6.7.3, will that pin the version or is something else needed?
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.
If we leave it at 6.7.3 here, iOS will still use 6.7.3
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.
I mean will github-actions stop pushing version bumps.
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.
No. I don't think so- but we could probably change the code to do so.
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.
OK, so we need a PR with that in, too, I guess.
e53b399 to
bb47f4f
Compare
This automated Pull Request updates the used Qt6 version to version 6.9.1.
This PR was opened by the workflow Bump dependencies (create-prs)
CHANGELOG: Build: Updated bundled Qt6 to version 6.9.1