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>
bb10
Dominik Holland 2020-06-02 10:29:17 +02:00
parent ca89ad8002
commit 43ae627f40
1 changed files with 4 additions and 0 deletions

View File

@ -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