diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2011-09-30 09:13:32 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-03 13:42:05 +0200 |
commit | 75a66c3d76fe88c9efa22655e75e196d8ec17036 (patch) | |
tree | 9fd0e6f6d7b1ca636ede4fbf79e718eaae1a2df5 /src/plugins/platforms/wayland/windowmanager_integration | |
parent | 598d37a2f03db618e18a0f9ea320cea8405d83c0 (diff) |
Moving wayland plugin to the qtwayland submodule
The wayland platform plugin now lives in its own Qt module, together with
the qtcompositor library.
Change-Id: I4e85292cf41da4ef021ea832545ac37f5ed4e991
Reviewed-on: http://codereview.qt-project.org/5836
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Reviewed-by: Andy Nichols
Diffstat (limited to 'src/plugins/platforms/wayland/windowmanager_integration')
5 files changed, 0 insertions, 587 deletions
diff --git a/src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.cpp b/src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.cpp deleted file mode 100644 index 7d68571c24..0000000000 --- a/src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.cpp +++ /dev/null @@ -1,263 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the plugins of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Nokia. -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include "qwaylandwindowmanagerintegration.h" -#include "wayland-windowmanager-client-protocol.h" -#include "qwaylandwindow.h" - -#include <stdint.h> -#include <QtCore/QEvent> -#include <QtCore/QHash> -#include <QtGui/QPlatformNativeInterface> -#include <QtGui/QPlatformWindow> -#include <QtGui/QtEvents> -#include <QtGui/QGuiApplication> - -#include <QDebug> - -class QWaylandWindowManagerIntegrationPrivate { -public: - QWaylandWindowManagerIntegrationPrivate(QWaylandDisplay *waylandDisplay); - bool m_blockPropertyUpdates; - QWaylandDisplay *m_waylandDisplay; - struct wl_windowmanager *m_waylandWindowManager; - QHash<QWaylandWindow*,QVariantMap> m_queuedProperties; - -}; - -QWaylandWindowManagerIntegrationPrivate::QWaylandWindowManagerIntegrationPrivate(QWaylandDisplay *waylandDisplay) - : m_blockPropertyUpdates(false) - , m_waylandDisplay(waylandDisplay) - , m_waylandWindowManager(0) -{ - -} - -QWaylandWindowManagerIntegration *QWaylandWindowManagerIntegration::m_instance = 0; - -const struct wl_windowmanager_listener QWaylandWindowManagerIntegration::m_windowManagerListener = { - QWaylandWindowManagerIntegration::wlHandleOnScreenVisibilityChange, - QWaylandWindowManagerIntegration::wlHandleScreenOrientationChange, - QWaylandWindowManagerIntegration::wlHandleWindowPropertyChange -}; - -QWaylandWindowManagerIntegration *QWaylandWindowManagerIntegration::createIntegration(QWaylandDisplay *waylandDisplay) -{ - return new QWaylandWindowManagerIntegration(waylandDisplay); -} - -QWaylandWindowManagerIntegration::QWaylandWindowManagerIntegration(QWaylandDisplay *waylandDisplay) - : d_ptr(new QWaylandWindowManagerIntegrationPrivate(waylandDisplay)) -{ - m_instance = this; - - wl_display_add_global_listener(d_ptr->m_waylandDisplay->wl_display(), - QWaylandWindowManagerIntegration::wlHandleListenerGlobal, - this); -} - -QWaylandWindowManagerIntegration::~QWaylandWindowManagerIntegration() -{ - -} - -QWaylandWindowManagerIntegration *QWaylandWindowManagerIntegration::instance() -{ - return m_instance; -} - -struct wl_windowmanager *QWaylandWindowManagerIntegration::windowManager() const -{ - Q_D(const QWaylandWindowManagerIntegration); - return d->m_waylandWindowManager; -} - -void QWaylandWindowManagerIntegration::wlHandleListenerGlobal(wl_display *display, uint32_t id, const char *interface, uint32_t version, void *data) -{ - Q_UNUSED(version); - if (strcmp(interface, "wl_windowmanager") == 0) { - QWaylandWindowManagerIntegration *integration = static_cast<QWaylandWindowManagerIntegration *>(data); - integration->d_ptr->m_waylandWindowManager = wl_windowmanager_create(display, id, 1); - wl_windowmanager *windowManager = integration->d_ptr->m_waylandWindowManager; - wl_windowmanager_add_listener(windowManager, &m_windowManagerListener, integration); - } -} - -void QWaylandWindowManagerIntegration::mapClientToProcess(long long processId) -{ - Q_D(QWaylandWindowManagerIntegration); - if (d->m_waylandWindowManager) - wl_windowmanager_map_client_to_process(d->m_waylandWindowManager, (uint32_t) processId); -} - -void QWaylandWindowManagerIntegration::authenticateWithToken(const QByteArray &token) -{ - Q_D(QWaylandWindowManagerIntegration); - QByteArray authToken = token; - if (authToken.isEmpty()) - authToken = qgetenv("WL_AUTHENTICATION_TOKEN"); - - if (d->m_waylandWindowManager && !authToken.isEmpty()) { - wl_windowmanager_authenticate_with_token(d->m_waylandWindowManager, authToken.constData()); - } -} - -static wl_array writePropertyValue(const QVariant &value) -{ - QByteArray byteValue; - QDataStream ds(&byteValue, QIODevice::WriteOnly); - ds << value; - - wl_array data; - data.size = byteValue.size(); - data.data = (void*)byteValue.constData(); - data.alloc = 0; - - return data; -} - -void QWaylandWindowManagerIntegration::setWindowProperty(QWaylandWindow *window, const QString &propertyName, const QVariant &propertyValue) -{ - Q_D(QWaylandWindowManagerIntegration); - if (d->m_blockPropertyUpdates) - return; - - if (window->wl_surface()) { - wl_array data = writePropertyValue(propertyValue); - wl_windowmanager_update_generic_property(d->m_waylandWindowManager, window->wl_surface(), - propertyName.toLatin1().constData(), - &data); - } else { - QVariantMap props = d->m_queuedProperties.value(window); - props.insert(propertyName, propertyValue); - d->m_queuedProperties.insert(window, props); - // ### TODO we'll need to add listening to destroyed() of QWindow that owns QWaylandWindow - // once refactor changes are in, and connect to removeQueuedPropertiesForWindow(). - } -} - -void QWaylandWindowManagerIntegration::flushPropertyChanges(QWaylandWindow *windowToFlush) -{ - // write all changes we got while we did not have a surface. - // this can happen during startup, for example, or while the window is hidden. - Q_D(QWaylandWindowManagerIntegration); - - if (!windowToFlush) - return; - - QVariantMap properties = d->m_queuedProperties.value(windowToFlush); - wl_surface *surface = windowToFlush->wl_surface(); - - QMapIterator<QString, QVariant> pIt(properties); - while (pIt.hasNext()) { - pIt.next(); - wl_array data = writePropertyValue(pIt.value()); - wl_windowmanager_update_generic_property(d->m_waylandWindowManager, surface, pIt.key().toLatin1().constData(), &data); - } - - d->m_queuedProperties.clear(); -} - -void QWaylandWindowManagerIntegration::removeQueuedPropertiesForWindow() -{ - // TODO enable this later once refactor changes are in. -// Q_D(QWaylandWindowManagerIntegration); -// QWaylandWindow *window = 0; -// d->m_queuedProperties.remove(window); -} - -void QWaylandWindowManagerIntegration::wlHandleOnScreenVisibilityChange(void *data, struct wl_windowmanager *wl_windowmanager, int visible) -{ - Q_UNUSED(data); - Q_UNUSED(wl_windowmanager); - QEvent evt(visible != 0 ? QEvent::ApplicationActivate : QEvent::ApplicationDeactivate); - QCoreApplication::sendEvent(QCoreApplication::instance(), &evt); -} - -void QWaylandWindowManagerIntegration::wlHandleScreenOrientationChange(void *data, struct wl_windowmanager *wl_windowmanager, int screenOrientation) -{ - Q_UNUSED(data); - Q_UNUSED(wl_windowmanager); - QScreenOrientationChangeEvent event(screenOrientation); - QCoreApplication::sendEvent(QCoreApplication::instance(), &event); -} - -void QWaylandWindowManagerIntegration::wlHandleWindowPropertyChange(void *data, struct wl_windowmanager *wl_windowmanager, - struct wl_surface *surface, - const char *propertyName, struct wl_array *propertyValue) -{ - // window manager changes a window property - Q_UNUSED(data); - Q_UNUSED(wl_windowmanager); - - QVariant variantValue; - QByteArray baValue = QByteArray((const char*)propertyValue->data, propertyValue->size); - QDataStream ds(&baValue, QIODevice::ReadOnly); - ds >> variantValue; - - QPlatformNativeInterface *nativeInterface = qApp->platformNativeInterface(); - QWaylandWindowManagerIntegration *inst = QWaylandWindowManagerIntegration::instance(); - - QList<QWindow *> windows = qApp->topLevelWindows(); - foreach (QWindow *window, windows) { - QPlatformWindow *platformWindowForWindow = window->handle(); - if (!platformWindowForWindow) - continue; - QWaylandWindow *waylandWindow = static_cast<QWaylandWindow*>(platformWindowForWindow); - wl_surface *windowSurface = (wl_surface*)nativeInterface->nativeResourceForWindow(QByteArray("surface"), window); - if (windowSurface == surface) { - inst->handleWindowPropertyChange(waylandWindow, QString(propertyName), variantValue); - break; - } - } -} - -void QWaylandWindowManagerIntegration::handleWindowPropertyChange(QWaylandWindow *window, - const QString &propertyName, const QVariant &propertyValue) -{ - Q_D(QWaylandWindowManagerIntegration); - d->m_blockPropertyUpdates = true; - - QPlatformNativeInterface *nativeInterface = qApp->platformNativeInterface(); - nativeInterface->setWindowProperty(window, propertyName, propertyValue); - - d->m_blockPropertyUpdates = false; -} diff --git a/src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.h b/src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.h deleted file mode 100644 index 1372fb81b8..0000000000 --- a/src/plugins/platforms/wayland/windowmanager_integration/qwaylandwindowmanagerintegration.h +++ /dev/null @@ -1,96 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the plugins of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Nokia. -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef QWAYLANDWINDOWMANAGERINTEGRATION_H -#define QWAYLANDWINDOWMANAGERINTEGRATION_H - -#include <QtCore/QObject> -#include <QtCore/QScopedPointer> - -#include "wayland-client.h" -#include "qwaylanddisplay.h" - -class QWaylandWindow; - -class QWaylandWindowManagerIntegrationPrivate; - -class QWaylandWindowManagerIntegration : public QObject -{ - Q_OBJECT - Q_DECLARE_PRIVATE(QWaylandWindowManagerIntegration) -public: - explicit QWaylandWindowManagerIntegration(QWaylandDisplay *waylandDisplay); - virtual ~QWaylandWindowManagerIntegration(); - static QWaylandWindowManagerIntegration *createIntegration(QWaylandDisplay *waylandDisplay); - struct wl_windowmanager *windowManager() const; - - static QWaylandWindowManagerIntegration *instance(); - - void mapSurfaceToProcess(struct wl_surface *surface, long long processId); - void mapClientToProcess(long long processId); - void authenticateWithToken(const QByteArray &token = QByteArray()); - void setWindowProperty(QWaylandWindow *window, const QString &propertyName, const QVariant &propertyValue); - - void flushPropertyChanges(QWaylandWindow *windowToFlush); - -private slots: - void removeQueuedPropertiesForWindow(); - -private: - static void wlHandleListenerGlobal(wl_display *display, uint32_t id, - const char *interface, uint32_t version, void *data); - - static void wlHandleOnScreenVisibilityChange(void *data, struct wl_windowmanager *wl_windowmanager, int visible); - static void wlHandleScreenOrientationChange(void *data, struct wl_windowmanager *wl_windowmanager, int screenOrientation); - static void wlHandleWindowPropertyChange(void *data, struct wl_windowmanager *wl_windowmanager, - struct wl_surface *surface, - const char *propertyName, struct wl_array *propertyValue); - - void handleWindowPropertyChange(QWaylandWindow *window, const QString &propertyName, const QVariant &propertyValue); - -private: - QScopedPointer<QWaylandWindowManagerIntegrationPrivate> d_ptr; - static QWaylandWindowManagerIntegration *m_instance; - - static const struct wl_windowmanager_listener m_windowManagerListener; -}; - -#endif // QWAYLANDWINDOWMANAGERINTEGRATION_H diff --git a/src/plugins/platforms/wayland/windowmanager_integration/wayland-windowmanager-client-protocol.h b/src/plugins/platforms/wayland/windowmanager_integration/wayland-windowmanager-client-protocol.h deleted file mode 100644 index ffcf60fdfe..0000000000 --- a/src/plugins/platforms/wayland/windowmanager_integration/wayland-windowmanager-client-protocol.h +++ /dev/null @@ -1,137 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the plugins of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Nokia. -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#ifndef WAYLAND_WINDOWMANAGER_CLIENT_PROTOCOL_H -#define WAYLAND_WINDOWMANAGER_CLIENT_PROTOCOL_H - -#ifdef __cplusplus -extern "C" { -#endif - -#include <stdint.h> -#include <stddef.h> -#include "wayland-util.h" - -struct wl_client; - -struct wl_windowmanager; - -extern const struct wl_interface wl_windowmanager_interface; - -struct wl_windowmanager_listener { - void (*client_onscreen_visibility)(void *data, - struct wl_windowmanager *wl_windowmanager, - int32_t visible); - void (*set_screen_rotation)(void *data, - struct wl_windowmanager *wl_windowmanager, - int32_t rotation); - void (*set_generic_property)(void *data, - struct wl_windowmanager *wl_windowmanager, - struct wl_surface *surface, - const char *name, - struct wl_array *value); -}; - -static inline int -wl_windowmanager_add_listener(struct wl_windowmanager *wl_windowmanager, - const struct wl_windowmanager_listener *listener, void *data) -{ - return wl_proxy_add_listener((struct wl_proxy *) wl_windowmanager, - (void (**)(void)) listener, data); -} - -#define WL_WINDOWMANAGER_MAP_CLIENT_TO_PROCESS 0 -#define WL_WINDOWMANAGER_AUTHENTICATE_WITH_TOKEN 1 -#define WL_WINDOWMANAGER_UPDATE_GENERIC_PROPERTY 2 - -static inline struct wl_windowmanager * -wl_windowmanager_create(struct wl_display *display, uint32_t id, uint32_t version) -{ - wl_display_bind(display, id, "wl_windowmanager", version); - - return (struct wl_windowmanager *) - wl_proxy_create_for_id(display, &wl_windowmanager_interface, id); -} - -static inline void -wl_windowmanager_set_user_data(struct wl_windowmanager *wl_windowmanager, void *user_data) -{ - wl_proxy_set_user_data((struct wl_proxy *) wl_windowmanager, user_data); -} - -static inline void * -wl_windowmanager_get_user_data(struct wl_windowmanager *wl_windowmanager) -{ - return wl_proxy_get_user_data((struct wl_proxy *) wl_windowmanager); -} - -static inline void -wl_windowmanager_destroy(struct wl_windowmanager *wl_windowmanager) -{ - wl_proxy_destroy((struct wl_proxy *) wl_windowmanager); -} - -static inline void -wl_windowmanager_map_client_to_process(struct wl_windowmanager *wl_windowmanager, uint32_t processid) -{ - wl_proxy_marshal((struct wl_proxy *) wl_windowmanager, - WL_WINDOWMANAGER_MAP_CLIENT_TO_PROCESS, processid); -} - -static inline void -wl_windowmanager_authenticate_with_token(struct wl_windowmanager *wl_windowmanager, const char *processid) -{ - wl_proxy_marshal((struct wl_proxy *) wl_windowmanager, - WL_WINDOWMANAGER_AUTHENTICATE_WITH_TOKEN, processid); -} - -static inline void -wl_windowmanager_update_generic_property(struct wl_windowmanager *wl_windowmanager, struct wl_surface *surface, const char *name, struct wl_array *value) -{ - wl_proxy_marshal((struct wl_proxy *) wl_windowmanager, - WL_WINDOWMANAGER_UPDATE_GENERIC_PROPERTY, surface, name, value); -} - -#ifdef __cplusplus -} -#endif - -#endif diff --git a/src/plugins/platforms/wayland/windowmanager_integration/wayland-windowmanager-protocol.c b/src/plugins/platforms/wayland/windowmanager_integration/wayland-windowmanager-protocol.c deleted file mode 100644 index b69d3869c9..0000000000 --- a/src/plugins/platforms/wayland/windowmanager_integration/wayland-windowmanager-protocol.c +++ /dev/null @@ -1,75 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies). -** All rights reserved. -** Contact: Nokia Corporation (qt-info@nokia.com) -** -** This file is part of the plugins of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:LGPL$ -** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Nokia gives you certain additional -** rights. These rights are described in the Nokia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Nokia. -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -#include <stdlib.h> -#include <stdint.h> -#include "wayland-util.h" - -extern const struct wl_interface wl_surface_interface; - -static const struct wl_interface *types[] = { - NULL, - &wl_surface_interface, - NULL, - NULL, - &wl_surface_interface, - NULL, - NULL, -}; - -static const struct wl_message wl_windowmanager_requests[] = { - { "map_client_to_process", "u", types + 0 }, - { "authenticate_with_token", "s", types + 0 }, - { "update_generic_property", "osa", types + 1 }, -}; - -static const struct wl_message wl_windowmanager_events[] = { - { "client_onscreen_visibility", "i", types + 0 }, - { "set_screen_rotation", "i", types + 0 }, - { "set_generic_property", "osa", types + 4 }, -}; - -WL_EXPORT const struct wl_interface wl_windowmanager_interface = { - "wl_windowmanager", 1, - ARRAY_LENGTH(wl_windowmanager_requests), wl_windowmanager_requests, - ARRAY_LENGTH(wl_windowmanager_events), wl_windowmanager_events, -}; - diff --git a/src/plugins/platforms/wayland/windowmanager_integration/windowmanager_integration.pri b/src/plugins/platforms/wayland/windowmanager_integration/windowmanager_integration.pri deleted file mode 100644 index 45118b5d50..0000000000 --- a/src/plugins/platforms/wayland/windowmanager_integration/windowmanager_integration.pri +++ /dev/null @@ -1,16 +0,0 @@ -DEFINES += QT_WAYLAND_WINDOWMANAGER_SUPPORT - -contains(DEFINES, QT_WAYLAND_WINDOWMANAGER_SUPPORT) { - - HEADERS += \ - $$PWD/wayland-windowmanager-client-protocol.h \ - $$PWD/qwaylandwindowmanagerintegration.h - - SOURCES += \ - $$PWD/qwaylandwindowmanagerintegration.cpp \ - $$PWD/wayland-windowmanager-protocol.c - -} - - - |