diff options
author | David Redondo <[email protected]> | 2023-12-06 14:39:55 +0100 |
---|---|---|
committer | David Redondo <[email protected]> | 2023-12-07 23:04:59 +0100 |
commit | a2ff329d2eb893ffae0d1cd18dd76bd494781295 (patch) | |
tree | de023474c2be76a63891b30046006f6289101f1f /src/gui/platform/unix/qunixnativeinterface.cpp | |
parent | 6866e6f2fa1cfa8f91a940936296d3ecb5317640 (diff) |
Introduce a configure feature for Wayland
Using the presence of the wayland-client lib as a condition.
Fixes: QTBUG-117386
Change-Id: If4336965ea06e3f4b06e9af661efdec38ba46136
Reviewed-by: Tor Arne Vestbø <[email protected]>
Diffstat (limited to 'src/gui/platform/unix/qunixnativeinterface.cpp')
-rw-r--r-- | src/gui/platform/unix/qunixnativeinterface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/platform/unix/qunixnativeinterface.cpp b/src/gui/platform/unix/qunixnativeinterface.cpp index 82da2df96ae..cf212c17400 100644 --- a/src/gui/platform/unix/qunixnativeinterface.cpp +++ b/src/gui/platform/unix/qunixnativeinterface.cpp @@ -231,7 +231,7 @@ QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QEvdevKeyMapper); #endif // QT_CONFIG(evdev) -#if defined(Q_OS_UNIX) +#if QT_CONFIG(wayland) /*! \class QNativeInterface::QWaylandApplication @@ -301,6 +301,6 @@ QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QWaylandScreen); QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QWaylandWindow); -#endif // Q_OS_UNIX +#endif // QT_CONFIG(wayland) QT_END_NAMESPACE |