Onyx: Silica alternative for Qt6

Onyx is a library with Sailfish GUI components for Qt6 apps.
Based on BSD licensed QML files from Sailfish Silica.

The closed parts of Sailfish Silica are not available so efforts have been made to reverse engineer those for Onyx. This has been done on best effort basis so Onyx will likely never be feature complete compared to Silica.

Most basic functionality is working. E.g. PageStack/Pages, PushUp/PullDown menus, Buttons, Icons, ComboBoxes, ContextMenus etc.

There is a sample app showing how to use Onyx in a Qt6 based SFOS app.

For more information see README

OBS

Code

To install Qt6, see Qt6 thread (Packaging Qt6 (6.7.2) for Sailfish OS)

10 Likes

oh, this sounds awesome!! mind throwing up some screenshots from the sample app? :slight_smile:

Sounds cool! Could someone translate this to non techie, what does this mean in practice? Sorry my stupidity….

The sample app was not designed to be pretty but mostly to show how the code should look for setting up your app to use Onyx. It has also been used to try out different components during development so it just contains a lot of component next to each other.


1 Like

In short: Qt6 based apps can now get native look and feel. I.e. they will look and behave like Qt5 apps developed for Sailfish Silica.

1 Like