liri-archive / materialdecoration Goto Github PK
View Code? Open in Web Editor NEW:shell: Client-side decoration for all Qt-based Wayland clients
License: GNU Lesser General Public License v3.0
:shell: Client-side decoration for all Qt-based Wayland clients
License: GNU Lesser General Public License v3.0
Minimize should not be drawn for dialog boxes.
Make sure the minimize button appears if there is the hint set or the window is top level.
Builds fine with Qt 5.11.1, but with Qt 5.11.2:
Building for configuration default
moc materialdecoration.h [materialdecorationplugin]
moc plugin.cpp [materialdecorationplugin]
compiling plugin.cpp [materialdecorationplugin]
compiling moc_materialdecoration.cpp [materialdecorationplugin]
ERROR: /usr/bin/g++ -g -O0 -Wall -Wextra -m32 -pipe -fexceptions -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_SERVICE_SUPPORT_LIB -DQT_WAYLANDCLIENT_LIB -I/builddir/build/BUILD/materialdecoration-5ad9d89f613ac795875eb142b89f6c022d7412cd/src/plugins/decorations/material -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/materialdecoration-5ad9d89f613ac795875eb142b89f6c022d7412cd/build/default/materialdecorationplugin.4de0a22a/qt.headers -I/usr/include/qt5/QtCore/5.11.2 -I/usr/include/qt5/QtCore/5.11.2/QtCore -I/usr/include/qt5/QtDBus -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtGui/5.11.2 -I/usr/include/qt5/QtGui/5.11.2/QtGui -I/usr/include/qt5/QtServiceSupport -I/usr/include/qt5/QtServiceSupport/5.11.2 -I/usr/include/qt5/QtServiceSupport/5.11.2/QtServiceSupport -I/usr/include/qt5/QtWaylandClient -I/usr/include/qt5/QtWaylandClient/5.11.2 -I/usr/include/qt5/QtWaylandClient/5.11.2/QtWaylandClient -std=c++11 -o /builddir/build/BUILD/materialdecoration-5ad9d89f613ac795875eb142b89f6c022d7412cd/build/default/materialdecorationplugin.4de0a22a/3a52ce780950d4d9/plugin.cpp.o -c /builddir/build/BUILD/materialdecoration-5ad9d89f613ac795875eb142b89f6c022d7412cd/src/plugins/decorations/material/plugin.cpp
ERROR: In file included from /builddir/build/BUILD/materialdecoration-5ad9d89f613ac795875eb142b89f6c022d7412cd/src/plugins/decorations/material/materialdecoration.h:43,
from /builddir/build/BUILD/materialdecoration-5ad9d89f613ac795875eb142b89f6c022d7412cd/src/plugins/decorations/material/plugin.cpp:24:
/usr/include/qt5/QtWaylandClient/5.11.2/QtWaylandClient/private/qwaylandshellsurface_p.h:59:10: fatal error: QtWaylandClient/private/qwayland-wayland.h: No such file or directory
#include <QtWaylandClient/private/qwayland-wayland.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: /usr/bin/g++ -g -O0 -Wall -Wextra -m32 -pipe -fexceptions -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_SERVICE_SUPPORT_LIB -DQT_WAYLANDCLIENT_LIB -I/builddir/build/BUILD/materialdecoration-5ad9d89f613ac795875eb142b89f6c022d7412cd/src/plugins/decorations/material -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I/usr/lib/qt5/mkspecs/linux-g++ -I/builddir/build/BUILD/materialdecoration-5ad9d89f613ac795875eb142b89f6c022d7412cd/build/default/materialdecorationplugin.4de0a22a/qt.headers -I/usr/include/qt5/QtCore/5.11.2 -I/usr/include/qt5/QtCore/5.11.2/QtCore -I/usr/include/qt5/QtDBus -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtGui/5.11.2 -I/usr/include/qt5/QtGui/5.11.2/QtGui -I/usr/include/qt5/QtServiceSupport -I/usr/include/qt5/QtServiceSupport/5.11.2 -I/usr/include/qt5/QtServiceSupport/5.11.2/QtServiceSupport -I/usr/include/qt5/QtWaylandClient -I/usr/include/qt5/QtWaylandClient/5.11.2 -I/usr/include/qt5/QtWaylandClient/5.11.2/QtWaylandClient -std=c++11 -o /builddir/build/BUILD/materialdecoration-5ad9d89f613ac795875eb142b89f6c022d7412cd/build/default/materialdecorationplugin.4de0a22a/73489b871e127538/moc_materialdecoration.cpp.o -c /builddir/build/BUILD/materialdecoration-5ad9d89f613ac795875eb142b89f6c022d7412cd/build/default/materialdecorationplugin.4de0a22a/qt.headers/moc_materialdecoration.cpp
ERROR: In file included from /builddir/build/BUILD/materialdecoration-5ad9d89f613ac795875eb142b89f6c022d7412cd/build/default/materialdecorationplugin.4de0a22a/qt.headers/../../../../src/plugins/decorations/material/materialdecoration.h:43,
from /builddir/build/BUILD/materialdecoration-5ad9d89f613ac795875eb142b89f6c022d7412cd/build/default/materialdecorationplugin.4de0a22a/qt.headers/moc_materialdecoration.cpp:9:
/usr/include/qt5/QtWaylandClient/5.11.2/QtWaylandClient/private/qwaylandshellsurface_p.h:59:10: fatal error: QtWaylandClient/private/qwayland-wayland.h: No such file or directory
#include <QtWaylandClient/private/qwayland-wayland.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ERROR: Process failed with exit code 1.
The following products could not be built for configuration default:
materialdecorationplugin
I would be very interesting on using it on my projects, right now there is not information on how it can be used.
See https://codereview.qt-project.org/#/c/222255/
If bradient was changed we probably need to change here as well.
bradient diff is here: https://codereview.qt-project.org/#/c/222255/7/src/plugins/decorations/bradient/main.cpp
Yocto's meta-qt5 just upgraded Qt 5.15.0 -> 5.15.2. Now materialdecoration fails with
71 | #include <QtXkbCommonSupport/private/qxkbcommon_p.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Yes they mean it
I just stumbled over this project and wondered if it would be possible to adapt it to be used in QGnomePlatform/adwaita-qt on Wayland (or forked so it works well for Gnome and can be shipped by distributions with Gnome if they choose to).
So a couple of questions from my side:
Regards and thanks it advance!
See also FedoraQt/QGnomePlatform#15 (comment)
See lirios/lirios#60
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.