qt5base-lts/tests/auto/wasm/CMakeLists.txt
Mikolaj Boc 3dc6fdc6d8 Fix the handling of dead keys and test the mechanism
An effort has been made to support more keyboard layouts that provide
dead keys (US international, Mac-specific dead keys).

The dead key is translated now at the event conversion phase, not
when it is actually used for modifying keys, which simplifies the logic.

Unittests have been created to check the translation mechanism.

Fixes: QTBUG-86272
Change-Id: I07f7d63f5a37f8469c693b034b400da99379f519
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
2023-02-14 23:18:42 +01:00

43 lines
884 B
CMake

# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
#####################################################################
## tst_wasm Test:
#####################################################################
qt_internal_add_test(tst_localfileapi
SOURCES
tst_localfileapi.cpp
DEFINES
QT_NO_FOREACH
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
)
qt_internal_add_test(tst_qwasmkeytranslator
SOURCES
tst_qwasmkeytranslator.cpp
DEFINES
QT_NO_FOREACH
LIBRARIES
Qt::GuiPrivate
PUBLIC_LIBRARIES
Qt::Core
)