From fc4fca6d9dc22839ca73898c362faff96c81214c Mon Sep 17 00:00:00 2001 From: Mikolaj Boc Date: Wed, 14 Jun 2023 14:54:34 +0200 Subject: Support child windows on WASM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Setting parents for WASM platform windows is now supported. This means that windows now reside in a hierarchical window tree, with the screen and individual windows being nodes (QWasmWindowTreeNode), each maintaining their own child window stack. The divs backing windows are properly reparented in response to Qt window parent changes, so that the html structure reflects what is happening in Qt. Change-Id: I55c91d90caf58714342dcd747043967ebfdf96bb Reviewed-by: Morten Johan Sørvig --- tests/auto/wasm/CMakeLists.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'tests/auto/wasm/CMakeLists.txt') diff --git a/tests/auto/wasm/CMakeLists.txt b/tests/auto/wasm/CMakeLists.txt index 47031037e0..0d67ae8e79 100644 --- a/tests/auto/wasm/CMakeLists.txt +++ b/tests/auto/wasm/CMakeLists.txt @@ -30,6 +30,19 @@ qt_internal_add_test(tst_qwasmwindowstack Qt::Widgets ) +qt_internal_add_test(tst_qwasmwindowtreenode + SOURCES + tst_qwasmwindowtreenode.cpp + DEFINES + QT_NO_FOREACH + LIBRARIES + Qt::GuiPrivate + PUBLIC_LIBRARIES + Qt::Core + Qt::Gui + Qt::Widgets +) + qt_internal_add_test(tst_qwasmkeytranslator SOURCES tst_qwasmkeytranslator.cpp -- cgit v1.2.3