qtdeclarative/tests
Ulf Hermann 8e222a70d1 Allow proper registration of value types
You can now have an extension object on a value type that offers
additional properties. This is how we model the QtQuick value types. It
allows us to retrieve the extension's metaobject without using the
virtual functions in the value type provider.

As before, this mechanism is still rather dangerous and not fit for
public consumption. It relies on the extension object having exactly the
same layout as the original value type, and it hides any properties the
original value type might expose.

Furthermore we enforce now that gadgets should have lowercase names.
The ones that didn't before are split up into an anonymous value type
and a namespace that contains all the addressable bits.

Task-number: QTBUG-82443
Change-Id: Ic93d6764538d6ccc0774b3c5648eee08ba0939c0
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2020-09-23 14:54:46 +02:00
..
auto Allow proper registration of value types 2020-09-23 14:54:46 +02:00
benchmarks Remove deprecated QQmlListProperty constructor 2020-08-31 12:42:27 +02:00
global
libfuzzer/qml Fuzzing: Add fuzz target for QQmlComponent::create() 2020-05-19 10:48:34 +00:00
manual Fix the pointer handlers manual test again 2020-09-19 01:00:50 +02:00
system Remove QRegExpValidator usages 2020-03-18 16:02:36 +01:00
testapplications Remove QRegExpValidator usages 2020-03-18 16:02:36 +01:00
.prev_CMakeLists.txt CMake: Regenerate and adapt to merge from dev 2020-03-12 14:05:23 +00:00
CMakeLists.txt CMake: Regenerate and adapt to merge from dev 2020-03-12 14:05:23 +00:00
README
tests.pro

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.