qt5base-lts/tests/auto/wasm/CMakeLists.txt
Mikolaj Boc 1007964f2d Maintain the window z-order properly in wasm compositor
The old stack structure used to keep track of windows has been improved
to conform to the actual windowing assumptions: there shall be one root
window, which is always at the bottom. The first created window
immediately becomes the root window. Should the root window be removed,
all windows are non-root, i.e. any of them can become the top-level window

Fixes: QTBUG-105094
Pick-to: 6.4
Change-Id: Ic553244fa9f5bc3ee590b702935e66cfc62d5f8f
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
2022-08-16 16:08:38 +00:00

33 lines
758 B
CMake

# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
#####################################################################
## tst_wasm Test:
#####################################################################
qt_internal_add_test(tst_localfileapi
SOURCES
tst_localfileapi.cpp
DEFINES
QT_NO_FOREACH
QT_NO_KEYWORDS
LIBRARIES
Qt::GuiPrivate
Qt::Core
Qt::Gui
Qt::Widgets
)
qt_internal_add_test(tst_qwasmwindowstack
SOURCES
tst_qwasmwindowstack.cpp
DEFINES
QT_NO_FOREACH
LIBRARIES
Qt::GuiPrivate
PUBLIC_LIBRARIES
Qt::Core
Qt::Gui
Qt::Widgets
)