summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/webgl/qwebglintegration.cpp
diff options
context:
space:
mode:
authorJesus Fernandez <jesus.fernandez@qt.io>2017-08-03 17:07:30 +0200
committerJesus Fernandez <Jesus.Fernandez@qt.io>2017-08-04 08:46:40 +0000
commitdd09fcb43327fae721603a17bd86193397d7be6a (patch)
treeb3c07821d7a5b3a2029c447ce252b752418ac87f /src/plugins/platforms/webgl/qwebglintegration.cpp
parent0fe0d6020ccb805f7b9ca138ce8d5eac11d884fe (diff)
Add macOS support
Change-Id: Id9e89530d7b7c4fb21bfede7a79a46dcbcbdcafb Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/plugins/platforms/webgl/qwebglintegration.cpp')
-rw-r--r--src/plugins/platforms/webgl/qwebglintegration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/webgl/qwebglintegration.cpp b/src/plugins/platforms/webgl/qwebglintegration.cpp
index 85ec2f1..0d9902d 100644
--- a/src/plugins/platforms/webgl/qwebglintegration.cpp
+++ b/src/plugins/platforms/webgl/qwebglintegration.cpp
@@ -170,7 +170,7 @@ QPlatformFontDatabase *QWebGLIntegration::fontDatabase() const
QPlatformTheme *QWebGLIntegration::createPlatformTheme(const QString &name) const
{
-#ifdef Q_OS_WIN
+#if defined(Q_OS_WIN) || defined(Q_OS_MACOS)
return QPlatformIntegration::createPlatformTheme(name);
#else
return QGenericUnixTheme::createUnixTheme(name);