Packaging Qt6 (6.7.2) for Sailfish OS

So far we used:

%global qt_version 6.7.2

at the top of SPEC and then you have to put the same version under Version: . In BuildReq use it in the form

BuildRequires: qt6-qtbase-devel > %{qt_version}

Then line

%{?_qt6:Requires: %{_qt6}%{?_isa} = %{_qt6_version}}

is needed to lock qtbase version.

Other than that, all should similar. Looking forward to your first package and, after that, for PR with documentation. :slight_smile:

2 Likes