App development for sailfishOS, KDE and Android

I want to build an app using qt that targets all three environments. I know it’s possible in theory but ive no idea how to setup my dev environment and build. I can’t even tell if I should use qt creator or Sailfish ide. Ive been over how to target silica, kirigami and qt for android but ive only actually used qt to build for sailfishOS before. Anyone got any pointers before I waste hours setting up an ide and build automation.

This is probably not for you but if you have experience with Common Lisp and QML you can use LQML to develop for the platforms you mentioned (and more)

I have been using this for my app.

Years ago I had a similar attempt. I lost my motivation with setting a development environment for QT Android.

I cannot help you with all the IDE and build environment stuff for multiple targets.

But packages for Qt6, some parts of KDE/KF6, and Kirigami are available forSailfish OS via Chum:

The people I know who were doing multiple arch are using either a custom setup (like Kate :slight_smile: or Qt creator directly. I have both setup (Qt 6 creator & co.). There are lots of ways to set it up. For a really byzantine setup look at GitHub - poetaster/fahrplan: QT Application for Public transportation · GitHub the fahrplan/deployment.pri at master · poetaster/fahrplan · GitHub does branching as does the main.cpp …

Thank you. It would be much easier to use Qt6. Do you have any idea if or when that will be accepted to Harbour.

Edit: Read that thread, doesn’t look like Qt6 will officially be part of Sailfish for the foreseeable.

That is correct.

And as you have seen, the harbour rules forbid linking to libraries like the Chum Qt6 packages.

(Unless you pull a Roo and ship Qt6, WebKit, and half of the Free Software world in your app package. But you’re not going to earn many browie points for doing that ;D )

Sort of like ‘flatpak’, ‘appimage’ etc :slight_smile: I hate that, but all the kids are doin’ it. sigh.

Well, at least we haven’t been pid-one-filesystem-layouted yet!

AHHHHHHHHHHHH! I’ve recently built a dual boot 9front & haiku box. I’m going to run for the hills soon.