From 43ae627f406bbdea1345b25292dda42045e7506e Mon Sep 17 00:00:00 2001 From: Dominik Holland Date: Tue, 2 Jun 2020 10:29:17 +0200 Subject: [PATCH] Add Q_OS_WEBOS to qsystemdetection This can be used to guard WebOS specific patches. Change-Id: Ia770562b92c59fc3410d6254acd1313776d15a28 Pick-to: 5.15 Fixes: QTPM-1826 Reviewed-by: Johannes Oikarinen Reviewed-by: Lars Knoll --- src/corelib/global/qsystemdetection.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/corelib/global/qsystemdetection.h b/src/corelib/global/qsystemdetection.h index fe7d7d880b..ab023a6cb5 100644 --- a/src/corelib/global/qsystemdetection.h +++ b/src/corelib/global/qsystemdetection.h @@ -72,6 +72,7 @@ UNIX - Any UNIX BSD/SYSV system ANDROID - Android platform HAIKU - Haiku + WEBOS - LG WebOS The following operating systems have variants: LINUX - both Q_OS_LINUX and Q_OS_ANDROID are defined when building for Android @@ -111,6 +112,9 @@ # else # error "Qt has not been ported to this Apple platform - see http://www.qt.io/developers" # endif +#elif defined(__WEBOS__) +# define Q_OS_WEBOS +# define Q_OS_LINUX #elif defined(__ANDROID__) || defined(ANDROID) # define Q_OS_ANDROID # define Q_OS_LINUX