Qt6 check code as apps is qt6 only.
This commit is contained in:
parent
6f0bca5593
commit
8ae3b0aef8
|
@ -100,7 +100,6 @@ void QWaylandLayerSurface::zwlr_layer_surface_v1_configure(uint32_t serial, uint
|
|||
}
|
||||
}
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 6, 0)
|
||||
void QWaylandLayerSurface::attachPopup(QtWaylandClient::QWaylandShellSurface *popup)
|
||||
{
|
||||
std::any anyRole = popup->surfaceRole();
|
||||
|
@ -111,7 +110,6 @@ void QWaylandLayerSurface::attachPopup(QtWaylandClient::QWaylandShellSurface *po
|
|||
qCWarning(LAYERSHELLQT) << "Cannot attach popup of unknown type";
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void QWaylandLayerSurface::applyConfigure()
|
||||
{
|
||||
|
|
|
@ -32,9 +32,7 @@ public:
|
|||
{
|
||||
return m_configured;
|
||||
}
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 6, 0)
|
||||
void attachPopup(QtWaylandClient::QWaylandShellSurface *popup) override;
|
||||
#endif
|
||||
|
||||
void setAnchor(uint32_t anchor);
|
||||
void setExclusiveZone(int32_t zone);
|
||||
|
|
Loading…
Reference in a new issue