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
1
vote
0 answers

How to correctly configure Qt app to launch on wayland platform?

Currently trying to launch a Qt application on a wayland platform, without success. I succeeded to launch other basic apps such as a calculator or a paint sample. But my app get the following error : QSocketNotifier: Can only be used with threads…
Greg
  • 579
  • 5
  • 26
1
vote
2 answers

Failed when build qtwayland in Yocto

I am building qt framework with Yocto Rocko, I ran into below error when building qtwayland package. | ERROR: Error calling…
Thảo M. Hoàng
  • 1,224
  • 3
  • 20
  • 42
1
vote
1 answer

QT wayland Failed to create display (No such file or directory)

I am trying create a qt5 application on yocto using qtwayland. When I run my application, the 'Apllication Output' displays this error "Failed to create display (No such file or directory) Application finished with exit code 1." . However, the…
Bird Joey
  • 11
  • 1
  • 1
  • 2
1
vote
1 answer

PyQt5 unable to find Wayland plugin

I am currently trying to run a program written to use PyQt5 in a Wayland session on KDE Neon, but I am encountering this error when I attempt to launch it: This application failed to start because it could not find or load the Qt platform plugin…
1
vote
0 answers

unknown modules in qt :qtwaylandcompositor

I'm using qt to develop embedded-linux application having having multi-windows ,so it should use QtWayland to manage them,but now I have no idea to use QtWayland,searching results says i should add QT += qtwaylandcompositor in .pro file ,I did it…
yuefeng qu
  • 11
  • 2
1
vote
2 answers

Qt5 on wayland without weston

Some background on what i am doing and what i would like to accomplish is i have compiled weston without the toolbar and background so it is just a black screen. i did this because when i run the commands: $ weston & $ ./pure-qml -platform…
Bbbh
  • 321
  • 7
  • 20
1
vote
2 answers

Launch Qt app using systemd

I want to launch a 'Qt' app on my board during start-up. It's using systemd to start the processes and the graphics backend is wayland. Since it's using systemd, I wrote a simple service to start my app. PSB. [Unit] Description=Qt App…
vraj010
  • 116
  • 1
  • 2
  • 8
1
vote
0 answers

Qtwebengine on Embedded linux, with qtwayland and OpenGL not working, black rectangles seen on browser

I'm trying to get web browsing working on my platform with Qt. I'm using Qt 5.4.1, on ARM A9, running embedded linux, with qtwayland and OpenGL ES. I've successfully compiled (using yocto) QtWebEngine for the platform and I'm able to launch the…
user1099859
  • 103
  • 1
  • 8
0
votes
0 answers

How can a non-root (Qt5) wayland GUI also show all root files and paths in a file chooser?

I am going to port an X11 GUI (running as root) written in Qt5 to a native wayland GUI and Wayland does not support GUI apps running as root for security reasons. Since it is a backup app the user must be able to select even non-user paths and files…
R Yoda
  • 8,358
  • 2
  • 50
  • 87
0
votes
0 answers

Missing Qt-Platform-Plugin "wayland" - pySide / pyQt / visualization

I'm getting started with pythonOCC for my thesis and I'm already struggling at the installation-part. I managed to install pythonOCC (7.7.0) inside a venv with python 3.9 via Anaconda (took me longer than I want to admit...) on my Ubuntu 22.04…
MrJ
  • 1
0
votes
0 answers

How to get winID on wayland?

This is my test code: from PySide6.QtCore import * from PySide6.QtGui import * from PySide6.QtWidgets import * import sys app = QApplication(sys.argv) window = QMainWindow() window.show() print("Your winID:…
Tim
  • 11
  • 3
0
votes
0 answers

Qt reports "qt.qpa.wayland: EGL not available", what did I missed?

I have a arm64 device running Ubuntu20.04 Xwayland I'm trying to run qt apps on it. The wayland and eglfs backends works, but it reports "qt.qpa.wayland: EGL not available". Use official demo quicknanobrowser for…
0
votes
1 answer

Missing wayland headers files

The error I'm getting: error: gst/wayland/wayland.h: No such file or directory In file included from ../QtService/videooverlay.cpp:1: ../QtService/videooverlay.h:11:10: fatal error: gst/wayland/wayland.h: No such file or directory 11 | #include…
deadend
  • 105
  • 1
  • 1
  • 8
0
votes
0 answers

QWidget-Method hide() destroys surface in IVI-enabled Wayland-Compositor

I have a compositor based on the IVI compositor example in which I can manipulate visibility of surfaces via the "visible" property of the respective surface. However, when a client tries to hide a QWidget via the hide() method, the compositor will…
0
votes
1 answer

How to open gui applications like firefox in the Qt Wayland compositor which I created

I created an example Qt Wayland compositor and the QML code goes like this: import QtQuick 2.15 import QtQuick.Window 2.15 import QtQuick.Controls 2.0 import QtWayland.Compositor 1.0 WaylandCompositor{ id:comp WaylandOutput{ …