Skip to content

Commit

Permalink
Merge pull request #12915 from fwcd/qwasmintegrationplugin
Browse files Browse the repository at this point in the history
MixxxApplication: Use `QWasmIntegrationPlugin` when targeting WebAssembly
  • Loading branch information
daschuer authored Mar 4, 2024
2 parents 61f1b5f + 4d1ed7b commit 1c86a47
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/mixxxapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
// https://doc.qt.io/qt-5/plugins-howto.html#details-of-linking-static-plugins
#ifdef QT_STATIC
#include <QtPlugin>
#if defined(Q_OS_WIN)
#if defined(Q_OS_WASM)
Q_IMPORT_PLUGIN(QWasmIntegrationPlugin)
#elif defined(Q_OS_WIN)
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
Q_IMPORT_PLUGIN(QWindowsVistaStylePlugin)
#elif defined(Q_OS_IOS)
Expand All @@ -36,8 +38,10 @@ Q_IMPORT_PLUGIN(QXcbIntegrationPlugin)
#else
#error "Q_IMPORT_PLUGIN() for the current patform is missing"
#endif
#if !defined(Q_OS_WASM)
Q_IMPORT_PLUGIN(QOffscreenIntegrationPlugin)
Q_IMPORT_PLUGIN(QMinimalIntegrationPlugin)
#endif

Q_IMPORT_PLUGIN(QSQLiteDriverPlugin)
Q_IMPORT_PLUGIN(QSvgPlugin)
Expand Down

0 comments on commit 1c86a47

Please sign in to comment.