Skip to content

Qt support for the Wayland layer-shell extension. Fork fixes build for Qt 5.15. NOTE: only compilation was tested (!)

License

Notifications You must be signed in to change notification settings

VanLaser/qtlayershell

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QtLayerShell

This library provides support for the layer-shell Wayland extension protocol.

Usage

QtLayerShell/LayerView is the primary entry point to this library, and your QWindow should be a class which derives from it. Review the header for its usage. An example is available in the demo directory.

Note

In order for this to work correctly, you must set some environment variables before initializing your QGuiApplication.

qputenv("QT_QPA_PLATFORM", QByteArray("wayland"));
qputenv("QT_WAYLAND_SHELL_INTEGRATION", QByteArray("layer-shell"));

We are not able to do this for you.

Note

This utilizes private QtWaylandClient APIs and it may break between Qt versions.

Installation

meson build
ninja -C build
sudo ninja install

Consult the meson documentation if you have special needs.

Note: currently this project builds with some meson hacks that may not work on your system. Track the following meson tickets for updates:

Basically, we assume that Qt is installed to /usr.

About

Qt support for the Wayland layer-shell extension. Fork fixes build for Qt 5.15. NOTE: only compilation was tested (!)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 70.1%
  • Meson 29.9%