[vlc-commits] [Git][videolan/vlc][master] qt: import `QWasmIntegrationPlugin` if emscripten is used

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Jul 6 13:12:46 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
16e6c81d by Fatih Uzunoglu at 2024-07-06T12:55:57+00:00
qt: import `QWasmIntegrationPlugin` if emscripten is used

- - - - -


2 changed files:

- modules/gui/qt/plugins.hpp
- modules/gui/qt/qt6.pro


Changes:

=====================================
modules/gui/qt/plugins.hpp
=====================================
@@ -78,5 +78,7 @@
     Q_IMPORT_PLUGIN(QWaylandXdgShellIntegrationPlugin)
     Q_IMPORT_PLUGIN(QGtk3ThemePlugin)
     Q_IMPORT_PLUGIN(QXdgDesktopPortalThemePlugin)
+#elif defined(__EMSCRIPTEN__)
+    Q_IMPORT_PLUGIN(QWasmIntegrationPlugin)
 #endif
 #endif


=====================================
modules/gui/qt/qt6.pro
=====================================
@@ -19,3 +19,7 @@ QTPLUGIN += qxcb-glx-integration qxcb-egl-integration qxcb qwayland-generic qway
 macx {
 QTPLUGIN += qcocoa qmacstyle
 }
+
+emscripten {
+QTPLUGIN += qwasm
+}



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/16e6c81d3452481b007615608618072d6a36e787

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/16e6c81d3452481b007615608618072d6a36e787
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list