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

Qt 6.8 -> release-v4.47.0 #3207

Merged
merged 4 commits into from
Mar 3, 2025
Merged

Qt 6.8 -> release-v4.47.0 #3207

merged 4 commits into from
Mar 3, 2025

Conversation

benma
Copy link
Contributor

@benma benma commented Mar 3, 2025

Same as #3200 but to the release branch.

benma added 4 commits March 3, 2025 08:55
moq requires 1.22.5, so it is downloaded automatically in addition to
1.22.4 when building the image.
Reason: Moonpay widget login says "you can't perform this action",
fixed by a newer Chromium Version. Qt 6.5 was not new enough, but Qt
6.8 is.

This bumps the min requirements for Ubuntu from 20.04 to 22.04, and
for macOS from 10.14 to 12:

https://doc.qt.io/qt-6/supported-platforms.html

Various changes were needed:
- macos bumped to 14, required for building as per the above link
- the webclass being in a different worker thread caused a
  SIGTRAP. Since our backend calls are anyway launched in
  goroutines (a change done after moving webclass to a thread), we
  can keep this in the main thread as dispatching the call is low overhead.
- qwebchannel.js update is taken from
  https://raw.githubusercontent.com/qt/qtwebchannel/refs/tags/v6.8.2/examples/webchannel/shared/qwebchannel.js.
  The only local modification is to `export const QWebChannel` and drop
  the manual export like in 407bb24
- libxcb-cursor0 is newly required on linux
- on linux, v8_context_snapshot.bin is manually copied to the target
  as linuxdeployqt has not been fixed yet to do it automatically,
  required for QtWebEngine to launch
```
.\main.cpp(113): warning C4100: 'type': unreferenced formal parameter
..\main.cpp(117): warning C4100: 'level': unreferenced formal parameter
..\main.cpp(188): warning C4129: '.': unrecognized character escape sequence
..\main.cpp(188): warning C4129: '#': unrecognized character escape sequence
..\main.cpp(189): warning C4129: '.': unrecognized character escape sequence
..\main.cpp(189): warning C4129: '#': unrecognized character escape sequence
..\main.cpp(269): warning C4996: 'Qt::AA_EnableHighDpiScaling': High-DPI scaling is always enabled. This attribute no longer has any effect.
..\main.cpp(445): warning C4996: 'QWebEnginePage::MediaVideoCapture': Use QWebEnginePermission::PermissionType::MediaVideoCapture instead
..\main.cpp(450): warning C4996: 'QWebEnginePage::PermissionGrantedByUser': Use QWebEnginePermission::State::Granted instead
..\main.cpp(447): warning C4996: 'QWebEnginePage::setFeaturePermission': Setting permissions through QWebEnginePage has been deprecated. Please use QWebEnginePermission instead.
..\main.cpp(505): warning C4100: 'instanceId': unreferenced formal parameter
..\main.cpp(443): warning C4996:
'QWebEnginePage::featurePermissionRequested': The signal has been
deprecated; please use permissionRequested instead.
```
We ported the Windows build to Github Actions a while ago, so this is
redudnant. Dropping now as we bumped Qt to 6.8 and there is no need to
spend time doing the same in appveyor
@benma benma requested a review from Beerosagos March 3, 2025 07:57
Copy link
Collaborator

@Beerosagos Beerosagos left a comment

Choose a reason for hiding this comment

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

LGTM

@benma benma merged commit a7c2849 into BitBoxSwiss:release-v4.47.0 Mar 3, 2025
10 checks passed
@benma benma deleted the qt-6.8 branch March 3, 2025 08:09
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.

2 participants