From b3c12b05e60d5752d700e37416216070b3ef2f46 Mon Sep 17 00:00:00 2001 From: Axel Spoerl Date: Mon, 31 Jul 2023 15:31:36 +0200 Subject: [PATCH] Remove assertion in QAndroidPlatformScreen::addWindow() QAndroidPlatformScreen::addWindow() asserted the existence of a backing store, when a window is added. But QQuickWindow neither needs nor has a backing store. This patch removes the assertion, which was introduced in dbb072eb2838a04e89e34dad686394a496d5de87 Task-number: QTBUG-97482 Change-Id: Ifb43f83d39e16b972754e86d0ff9633f58dac3f8 Reviewed-by: Shawn Rutledge (cherry picked from commit 9a39ad8dfb4e6d1a179bd0fa38026886f8f7cb8e) Reviewed-by: Qt Cherry-pick Bot --- src/plugins/platforms/android/qandroidplatformscreen.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/platforms/android/qandroidplatformscreen.cpp b/src/plugins/platforms/android/qandroidplatformscreen.cpp index 45b73d3cf19..54c7a34efec 100644 --- a/src/plugins/platforms/android/qandroidplatformscreen.cpp +++ b/src/plugins/platforms/android/qandroidplatformscreen.cpp @@ -172,7 +172,6 @@ bool QAndroidPlatformScreen::event(QEvent *event) void QAndroidPlatformScreen::addWindow(QAndroidPlatformWindow *window) { - Q_ASSERT(window->backingStore()); if (window->parent() && window->isRaster()) return;