Add logging category for Wayland platform plugin
Change-Id: Ic42119e47afc7bda72eb985fe86d1343a762c274 Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io> Reviewed-by: David Edmundson <davidedmundson@kde.org>
This commit is contained in:
parent
5f32a06c28
commit
1ed7da501a
@ -79,6 +79,8 @@ QT_BEGIN_NAMESPACE
|
|||||||
|
|
||||||
namespace QtWaylandClient {
|
namespace QtWaylandClient {
|
||||||
|
|
||||||
|
Q_LOGGING_CATEGORY(lcQpaWayland, "qt.qpa.wayland"); // for general (uncategorized) Wayland platform logging
|
||||||
|
|
||||||
struct wl_surface *QWaylandDisplay::createSurface(void *handle)
|
struct wl_surface *QWaylandDisplay::createSurface(void *handle)
|
||||||
{
|
{
|
||||||
struct wl_surface *surface = mCompositor.create_surface();
|
struct wl_surface *surface = mCompositor.create_surface();
|
||||||
|
@ -57,6 +57,7 @@
|
|||||||
#include <QtCore/QVector>
|
#include <QtCore/QVector>
|
||||||
|
|
||||||
#include <QtCore/QWaitCondition>
|
#include <QtCore/QWaitCondition>
|
||||||
|
#include <QtCore/QLoggingCategory>
|
||||||
|
|
||||||
#include <wayland-client.h>
|
#include <wayland-client.h>
|
||||||
|
|
||||||
@ -83,6 +84,8 @@ namespace QtWayland {
|
|||||||
|
|
||||||
namespace QtWaylandClient {
|
namespace QtWaylandClient {
|
||||||
|
|
||||||
|
Q_DECLARE_LOGGING_CATEGORY(lcQpaWayland);
|
||||||
|
|
||||||
class QWaylandInputDevice;
|
class QWaylandInputDevice;
|
||||||
class QWaylandBuffer;
|
class QWaylandBuffer;
|
||||||
class QWaylandScreen;
|
class QWaylandScreen;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user