How to modify Qt to work with the Librem 5

I work a lot with an application that uses Qt, and has switched form using GTK+.

What steps will I need to make to have that application work on a LibRem5?

You have three options:

  1. Use Flatpak. Qt included in KDE runtimes works well on the Librem 5.
  2. Run your app natively with QT_QPA_PLATFORM=xcb DISPLAY=:0 env vars to force X11 backend - Qt in amber-phone repos is too old and doesn’t work well with Wayland backend.
  3. Wait for the next PureOS release, Byzantium, which contains recent Qt in its repos already.

If you mean to ask what you need to do if you want to make the application convergent (ie, Mobile Friendly), see the Kirigami Framework. Otherwise, the last answer was bang on.

Is there an ETA on that? Sorry if that has been announced already.

1 Like