Questions tagged [qtwayland]

QtWayland is a Qt 5 module that wraps the functionality of the Wayland protocol.

QtWayland is a Qt 5 module that wraps the functionality of Wayland (a compositor protocol to talk to clients & C library implementation). The client side is the wayland platform plugin, and provides a way to run Qt applications as Wayland clients. The server side is the QtCompositor API, and allows users to write their own Wayland compositors.

46 questions
7
votes
1 answer

How to disable the Qt Wayland module during QT build?

I am trying to build Qt on my raspberry pi with jessie on it. The configure option that I have provided are as below for my build: ./configure -v -opengl es2 -device linux-rasp-pi-g''+ -device-option CROSS_COMPILE=/usr/bin/ -opensource…
Varun Vijaykumar
  • 355
  • 6
  • 18
7
votes
2 answers

get the list of active windows in wayland weston

How to get the list of active windows in wayland.. ie, in my window one terminal is active and a calculator is also active, I need to get the details of these windows in terminal , how can I get it ?
Akhil V Suku
  • 870
  • 2
  • 13
  • 34
4
votes
7 answers

Is it possible to remove Weston toolbar?

Is it possible to have weston run without the toolbar at the top and change the background to black. So that when i have a script in init.d it calls weston first than my qt5 app? such as: weston & /home/root/app -platform wayland
Bbbh
  • 321
  • 7
  • 20
3
votes
1 answer

Qt platform plugin "wayland" not found while running Python in VScode on Ubuntu

I ran into the following problem, which prevents me from plotting figures in VScode. As a minimal example, I am trying to run the following Python script in VScode: from matplotlib import pyplot as plt plt.plot([1,2,3], [5,4,3]) This outputs…
notarobot
  • 46
  • 2
3
votes
0 answers

How to control FPS per window surface?

In my program, there are QtWaylandCompositor which contains two windows for each screen. WaylandCompositor { WaylandOutput { window: Window { id: screen1 } } WaylandOutput { window: Window { id: screen2 } …
JustWe
  • 4,250
  • 3
  • 39
  • 90
3
votes
1 answer

How to build qtwayland?

I spent whole day trying to use QtWayland.Compositor 1.0 in Qt creator. I have followed all the steps from there https://wiki.qt.io/QtWayland but I get the following error. I don't know what does it mean, that is my first contact with linux. I have…
Usmiech
  • 181
  • 3
  • 12
3
votes
0 answers

How to extend wayland/weston to control x,y position of a window/surface

I'm trying to control the x,y position through weston/desktop-shell/shell.c in weston_view_set_initial_position(...). What I planned to do is simply extend the data structures which pass down the surface width/height by adding global x/y position.…
testweb
  • 39
  • 3
3
votes
0 answers

How to position apps inside weston compositor?

I am using weston compositor to display / run my qml app . but inside compositor app is starting in unpredictable area , which is why part of the apps gets hidden sometimes. Each launch , starts app in a new area. Is it possible to specify…
rwik
  • 775
  • 2
  • 12
  • 27
2
votes
0 answers

QtCreator doesn't start on Wayland

I'm using Wayland session on Debian 11 (sid). Installed QtCreator from their website via .sh script but it doesn't launch. When running from '~/Qt/Tools/QtCreator/bin' directory in the terminal I get: Warning: Ignoring XDG_SESSION_TYPE=wayland on…
2
votes
2 answers

startup qt app in wayland weston

I use wayland weston and qt 5.6.2 in my arm board and start my app with bellow commands openvt -s -- weston --backend=fbdev-backend.so --idle-time=0 /root/myapp -platform wayland-egl but before my app starts, it shown weston shell.I need to start…
Mohsen Zahraee
  • 3,309
  • 5
  • 31
  • 45
1
vote
0 answers

Using QWaylandCompositor

I'm interested in trying to get a QWaylandCompositor-based project up and running. Qt 6.3 provides several QML-based examples of working Wayland compositors. I condensed one down to the following: import QtQuick import QtWayland.Compositor import…
Ralf Van Bogaert
  • 103
  • 1
  • 10
1
vote
1 answer

What is WaylandView?

I read https://doc.qt.io/qt-5/qml-qtwayland-compositor-waylandview.html#details but still cannot understand what is WaylandView. I tried to see how WaylandView works, but which type cannot be found. WaylandView is not a type I also tried…
JustWe
  • 4,250
  • 3
  • 39
  • 90
1
vote
1 answer

How to launch a qt wayland compositor from terminal without a platform like weston launches

i have been using the Qt Wayland plugin for developing a display manager for linux. i tried running the display manager that i built, on a terminal session but it shows like qt.qpa.plugin: Could not find the Qt platform plugin "wyland" in "" This…
1
vote
1 answer

Order of wl_display_dispatch and wl_display_roundtrip call

I am trying to make sense of which one should be called before and which one later between wl_display_dispatch and wl_display_roundtrip. I have seen both order so wondering which one is correct. 1st order: wl_display_get_registry(display);…
SanTosh
  • 61
  • 7
1
vote
0 answers

QML: Scene2D click events not firing when instantiated with NodeInstantiator

I'm creating a 3D QtWayland compositor and when putting the ShellSurfaceItems on a Qt3D plane I use a NodeInstantiator. Doing so registers all the properties except for the entities on my Scene2D (what I use to display the 2D ShellSurfaceItem on the…
1
2 3 4