diff options
author | Fredrik Orderud <fredrik.orderud@ge.com> | 2020-04-20 19:47:30 +0200 |
---|---|---|
committer | Fredrik Orderud <fredrik.orderud@ge.com> | 2020-04-21 09:41:58 +0200 |
commit | 6555642db7b3b992335f98dc01863db4beea3fd4 (patch) | |
tree | 3e48226cb7b92b3c954fc65869af69fe6a366ce6 /src/qml/qml/qqmlengine.cpp | |
parent | cdc6c2164a80311979a6c247d6fb77d436612e5f (diff) |
WASM: Enable WebAssembly platform detection from QML
WebAssembly seem to be missing from the list of reported platform in
QML. Adding it to the list enables writing of work-arounds for
wasm-specific bugs like e.g. QTBUG-83380 also in QML code.
Change-Id: Ifc5966ee0da0e62bfd8d4a029e1a42962686e43c
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlengine.cpp')
-rw-r--r-- | src/qml/qml/qqmlengine.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlengine.cpp b/src/qml/qml/qqmlengine.cpp index 5823ff8963..872a448bfd 100644 --- a/src/qml/qml/qqmlengine.cpp +++ b/src/qml/qml/qqmlengine.cpp @@ -422,6 +422,7 @@ The following functions are also on the Qt object. \li \c "unix" - Other Unix-based OS \li \c "windows" - Windows \li \c "winrt" - WinRT / UWP + \li \c "wasm" - WebAssembly \endlist \row |