qtdeclarative/tests
Ulf Hermann d3b3fef5a8 Qml: Allow const and non-const QObjectWrappers to coexist
We can access the same QObject in const and non-const contexts. Both
should be possible. Store the const objectwrapper in
m_multiplyWrappedObjects. That's somewhat slow, but const QObjects are
rather rare.

Pick-to: 6.4
Fixes: QTBUG-98479
Change-Id: I047afc121f5c29b955cd833e0a2c8299fc52b021
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-09-07 16:57:16 +02:00
..
auto Qml: Allow const and non-const QObjectWrappers to coexist 2022-09-07 16:57:16 +02:00
baseline QtDeclarative: port away from deprecated qSetGlobalQHashSeed(0) 2022-08-29 20:48:09 +02:00
benchmarks Material: add TreeViewDelegate.qml 2022-09-02 15:42:36 +02:00
global
libfuzzer/qml Add license headers to cmake files 2022-07-08 10:41:06 +02:00
manual CMake: Skip text manual test for top-level builds 2022-08-09 09:39:34 +02:00
system Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
testapplications Use SPDX license identifiers 2022-06-11 08:05:15 +02:00
CMakeLists.txt Add license headers to cmake files 2022-07-08 10:41:06 +02:00
README

README

This directory contains autotests and benchmarks based on QTestlib. In order
to run the autotests reliably, you need to configure a desktop to match the
test environment that these tests are written for.

Linux X11:

   * The user must be logged in to an active desktop; you can't run the
     autotests without a valid DISPLAY that allows X11 connections.

   * The tests are run against a KDE3 or KDE4 desktop.

   * Window manager uses "click to focus", and not "focus follows mouse". Many
     tests move the mouse cursor around and expect this to not affect focus
     and activation.

   * Disable "click to activate", i.e., when a window is opened, the window
     manager should automatically activate it (give it input focus) and not
     wait for the user to click the window.