summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/android
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/platform/android')
-rw-r--r--src/gui/platform/android/qandroidnativeinterface.cpp15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/gui/platform/android/qandroidnativeinterface.cpp b/src/gui/platform/android/qandroidnativeinterface.cpp
index bdb322add0..b1063034a0 100644
--- a/src/gui/platform/android/qandroidnativeinterface.cpp
+++ b/src/gui/platform/android/qandroidnativeinterface.cpp
@@ -47,7 +47,19 @@ QT_BEGIN_NAMESPACE
using namespace QNativeInterface::Private;
-#if defined(Q_OS_ANDROID)
+/*!
+ \class QNativeInterface::QAndroidOffscreenSurface
+ \since 6.0
+ \brief Native interface to a offscreen surface on Android.
+
+ Accessed through QOffscreenSurface::nativeInterface().
+
+ \inmodule QtGui
+ \inheaderfile QOffscreenSurface
+ \ingroup native-interfaces
+ \ingroup native-interfaces-qoffscreensurface
+*/
+
QT_DEFINE_NATIVE_INTERFACE(QAndroidOffscreenSurface, QOffscreenSurface);
QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QAndroidOffScreenIntegration);
@@ -56,6 +68,5 @@ QOffscreenSurface *QNativeInterface::QAndroidOffscreenSurface::fromNative(ANati
return QGuiApplicationPrivate::platformIntegration()->call<
&QAndroidOffScreenIntegration::createOffscreenSurface>(nativeSurface);
}
-#endif
QT_END_NAMESPACE