diff options
author | Dominik Holland <dominik.holland@qt.io> | 2020-06-02 10:29:17 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-06-03 09:58:49 +0000 |
commit | eece76b2d1d1f8d648161c242b5d22fb9f6b6f81 (patch) | |
tree | fb4cee3399de91cba4f79caebde25a5d3fd62fc8 /src/corelib/global | |
parent | 7349dbf7f589e1f9baea20f285dcfdf25e5ad27a (diff) |
Add Q_OS_WEBOS to qsystemdetection
This can be used to guard WebOS specific patches.
Change-Id: Ia770562b92c59fc3410d6254acd1313776d15a28
Fixes: QTPM-1826
Reviewed-by: Johannes Oikarinen <johannes.oikarinen@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 43ae627f406bbdea1345b25292dda42045e7506e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/corelib/global')
-rw-r--r-- | src/corelib/global/qsystemdetection.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |