From 21bd782a6970ecb82beeac4d371ab5163d815350 Mon Sep 17 00:00:00 2001 From: Mikolaj Boc Date: Wed, 11 Jan 2023 13:12:30 +0100 Subject: [PATCH] Provide the proper QSysInfo::productType on WASM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-110057 Change-Id: I73b78e56faa3af858f60b884d0ea36acbd7f78cf Reviewed-by: Morten Johan Sørvig Reviewed-by: Thiago Macieira --- src/corelib/global/qsysinfo.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/corelib/global/qsysinfo.cpp b/src/corelib/global/qsysinfo.cpp index 9df9d96b5ec..0502e771774 100644 --- a/src/corelib/global/qsysinfo.cpp +++ b/src/corelib/global/qsysinfo.cpp @@ -788,6 +788,8 @@ QString QSysInfo::productType() return QStringLiteral("macos"); #elif defined(Q_OS_DARWIN) return QStringLiteral("darwin"); +#elif defined(Q_OS_WASM) + return QStringLiteral("wasm"); #elif defined(USE_ETC_OS_RELEASE) // Q_OS_UNIX QUnixOSVersion unixOsVersion;