New developer trying to get going
#1
Hi:
So I have a lot of experience developing qt apps for X11, but am having a rough go of trying to get setup for Wayland. Can anyone point me to some resources for learning how to talk to the compositor (Phoc) for Mobian? I want to develop some custom (mostly keyboard) interfaces to help with a disability I have, but am having a hard time (e.g. sending keystrokes) finding examples and code which will help me... I have heard that all I need to do as an app developer is add a few flags to my qt app when I run it, but that advice  doesn't help me with talking to the compositor, and setting up my kits for development has been a nightmare. Also: are people using Qt to develop Pinephone apps? If not, what? Sorry if these questions have already been covered, I will scour the forums in a bit, and thanks for any help...
  Reply
#2
Plasma Mobile is using Qt on the Pinephone and others, along with Wayland. They've got a fair selection of apps.
https://invent.kde.org/plasma/plasma-mob...wikis/home

The maliit keyboard should give you some idea of what you need to do - I'm not sure if that's what plasma mobile is using now, but it's at least a keyboard using Qt that works with Wayland, at least nominally.
https://github.com/maliit/keyboard

Phosh is mostly gnome-based, so using gtk. I think they're using squeekboard for virtual keyboard.

I'm assuming the toolkits now abstract the wayland protocol extensions sufficiently for you not to have to deal with them directly, but that might not be the case for relatively unusual things like custom input methods. It's not something I've got any experience with.
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)