Over the last few weeks, myself and @rinigus have been working on packaging Qt6 (6.7.2) for Sailfish OS
We are now at a state where the packages are usable to developers to build applications against. Packages are currnetly in an OBS repo [1], but will in time be moved to the SailfishOS:Chum repo to be easily available to all. The full list of packages is listed in this tracking issue [1], but in summary, most of Qt6 and Kf6 is available to use.
The motivation for this on my side was purely selfish, I had decided to host my music on a subsonic server, and needed an app. I chose to write the app using Kirigami2 knowing fine wwell that it would motivate me to do this (much larger) packaging exercise. I was very happy to get the offer of help from rinigus, which has accelerated the delivery of this project.
Packages install in /usr and live beside Qt 5.6 unlike Qt5.15 which installs in /opt, and maybe these packages will be useful for Jolla in the future.
The aim will be to bring existing Qt6 and KDE6 applications to SailfishOS, as well as new applications, and allow for interoperability with other mobile linux platforms such as plasma-mobile.
If anyone else woiuld like to assist, please do, file PRs, issues etc, and build apps!
Known Issues
- Due to issues building Qt6 with SB2, OBS does not always successfully build packages. We hope Jolla will fix this issue, so until this is resolved, some packages are being built on rinigusās arm64 build setup, and the packages manually uploaded into a qt6-prebuilt project [3]
- Internal compiler error in GCC [4]
Still TODO
- Some packages remain as per [2]
Notes
- Applications can run using the current qt-runner
- Material works as a nice mobile friendly style, but we will also bring the KDE Breeze style
[1] Show home:rinigus:qt6 - SailfishOS Open Build Service
[2] Packaging of Qt6 for SailfishOS Ā· Issue #1 Ā· sailfishos-chum/qt6 Ā· GitHub
[3] SDK sometimes creates files with 000 permissions
[4] GCC internal compiler error on i486