diff options
author | Dominik Holland <dominik.holland@qt.io> | 2020-06-02 10:29:17 +0200 |
---|---|---|
committer | Dominik Holland <dominik.holland@qt.io> | 2020-06-03 06:42:48 +0000 |
commit | 43ae627f406bbdea1345b25292dda42045e7506e (patch) | |
tree | a0e01e8c1f217dd250cd4fb66af163738ef073c7 /src/corelib | |
parent | ca89ad8002dc18dbbc0bccb1234364e4e165d9d8 (diff) |
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 <johannes.oikarinen@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib')
-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 |