diff --git a/src/plugins/platforms/android/qandroidplatformwindow.cpp b/src/plugins/platforms/android/qandroidplatformwindow.cpp index 7c2dfd6bac..b4231f0283 100644 --- a/src/plugins/platforms/android/qandroidplatformwindow.cpp +++ b/src/plugins/platforms/android/qandroidplatformwindow.cpp @@ -126,6 +126,11 @@ Qt::WindowFlags QAndroidPlatformWindow::windowFlags() const return m_windowFlags; } +void QAndroidPlatformWindow::setParent(const QPlatformWindow *window) +{ + Q_UNUSED(window); +} + QAndroidPlatformScreen *QAndroidPlatformWindow::platformScreen() const { return static_cast(window()->screen()->handle()); diff --git a/src/plugins/platforms/android/qandroidplatformwindow.h b/src/plugins/platforms/android/qandroidplatformwindow.h index db3cb35368..764dd3ab86 100644 --- a/src/plugins/platforms/android/qandroidplatformwindow.h +++ b/src/plugins/platforms/android/qandroidplatformwindow.h @@ -63,7 +63,7 @@ public: void setWindowState(Qt::WindowState state); void setWindowFlags(Qt::WindowFlags flags); Qt::WindowFlags windowFlags() const; - + void setParent(const QPlatformWindow *window); WId winId() const { return m_windowId; } QAndroidPlatformScreen *platformScreen() const;