-
Notifications
You must be signed in to change notification settings - Fork 41
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
Plan the Qt6 migration #1198
Comments
As of 8/13/22 Ubuntu and its variants are up to 22.04.1 and those with 20.04.x can do in place upgrades. Ubuntu 22.04.x has Qt 5.15 LTS. When we tag stable 3.0 I think we can do the first step of removing support for Qt version < 5.15. |
We haven't been testing lower versions for months now (since the release of Ubuntu 22.04). See longturn#1198.
The Sphinx documentation already said 5.15. See longturn#1198.
Use Qt::SkipEmptyParts instead. See longturn#1198. Closes longturn#1073.
The function was removed without replacement, but it was mainly returning (0, 0) anyway. See longturn#1198.
The function returning a pointer was deprecated in Qt 5.15. See longturn#1198.
The Qt version in Ubuntu 20.04 (5.12) is too old, and I don't want to figure out how to enable backports. See longturn#1198.
We haven't been testing lower versions for months now (since the release of Ubuntu 22.04). See longturn#1198.
The Sphinx documentation already said 5.15. See longturn#1198.
Use Qt::SkipEmptyParts instead. See longturn#1198. Closes longturn#1073.
The function was removed without replacement, but it was mainly returning (0, 0) anyway. See longturn#1198.
The function returning a pointer was deprecated in Qt 5.15. See longturn#1198.
The Qt version in Ubuntu 20.04 (5.12) is too old, and I don't want to figure out how to enable backports. See longturn#1198.
We haven't been testing lower versions for months now (since the release of Ubuntu 22.04). See #1198.
The Sphinx documentation already said 5.15. See #1198.
The function was removed without replacement, but it was mainly returning (0, 0) anyway. See #1198.
The function returning a pointer was deprecated in Qt 5.15. See #1198.
The Qt version in Ubuntu 20.04 (5.12) is too old, and I don't want to figure out how to enable backports. See #1198.
It would be good to have KF6 for a native Qt6 KArchive. There was a progress report today. |
Relevant blog post: https://rabbitictranslator.com/port-to-qt6/ |
We'll need to bump the targeted macOS version in the CI since Qt6 needs at least macOS 11. Qt6 needs Windows 10, but we don't have an explicit version requirement anywhere I can think of. |
Tried a first build with Qt 6. Non exhaustive list of changes needed for Qt6:
|
This changes the CMake code to build Freeciv21 against Qt 6 and Kde Frameworks 6. See longturn#1198.
Is your feature request related to a problem? Please describe.
Freeciv21 currently uses Qt5, which is EOL. We'll need to migrate to Qt6 at some point, this issue is for planning the migration.
Describe the solution you'd like
A typical migration would take place in steps:
QString::SkipEmptyParts
)The whole cycle can span several releases. This is not for 3.0, but we should decide when to start.
Additional context
Distro availability of Qt is finally increasing with Ubuntu 22.04 and Debian backports catching up.
Our
KArchive
dependency already builds in Qt6, but the Qt6 version is not shipped in distros. We may need to vendor it for a while.The text was updated successfully, but these errors were encountered: