aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlplatform.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmlplatform.cpp')
-rw-r--r--src/qml/qml/qqmlplatform.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlplatform.cpp b/src/qml/qml/qqmlplatform.cpp
index 0acf20bbb4..dcd7ca2d46 100644
--- a/src/qml/qml/qqmlplatform.cpp
+++ b/src/qml/qml/qqmlplatform.cpp
@@ -74,6 +74,8 @@ QString QQmlPlatform::os()
return QStringLiteral("linux");
#elif defined(Q_OS_QNX)
return QStringLiteral("qnx");
+#elif defined(Q_OS_WASM)
+ return QStringLiteral("wasm");
#elif defined(Q_OS_UNIX)
return QStringLiteral("unix");
#else