Browse Source

qt: register plugins for wayland

They are currently enabled only when the matching contrib has been found
on the system. The plugin name doesn't match with the plugin from the
contrib, but still enforce at link time the plugin to be present.

This always use the XdgShell integration regardless of what is supported
for now.
pull/138/head
Alexandre Janniaux 4 years ago
committed by Jean-Baptiste Kempf
parent
commit
873a7cdd61
  1. 6
      modules/gui/qt/plugins.hpp

6
modules/gui/qt/plugins.hpp

@ -60,4 +60,10 @@
Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
Q_IMPORT_PLUGIN(QXcbGlxIntegrationPlugin)
#endif
#if defined(QT5_HAS_WAYLAND)
Q_IMPORT_PLUGIN(QWaylandEglPlatformIntegrationPlugin)
Q_IMPORT_PLUGIN(QWaylandIntegrationPlugin)
Q_IMPORT_PLUGIN(QWaylandXdgShellIntegrationPlugin)
#endif
#endif

Loading…
Cancel
Save