qt6-bb10/src
Fabian Kosmale 948261d70c qpropertytesthelper: Check that the types match
If you have a property myprop of type float, testReadWritePropertyBasics
would happily accept
testReadWritePropertyBasics(myObject, 1, 2, "myProp")
The test would then fail when setting bindings, as we would try to
install a binding of type int on a float property, which gets rejected
at runtime.
To prevent unexpected failures, verify that the types match before doing
any further checks.

Change-Id: I3893563fce0e11f9e20afa7c6a1e1fe0385382ab
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
2021-04-22 16:48:46 +02:00
..
3rdparty CMake: Introduce zlib find script to work around hardcoded iOS SDK 2021-04-19 20:30:45 +02:00
android Android: Bump gradle (plugin) versions 2021-04-10 14:08:07 +02:00
concurrent QtConcurrentIterateKernel: fix warning 2021-04-12 10:31:54 +00:00
corelib QObjectBindableProperty: Allow signals taking a value 2021-04-22 16:15:41 +02:00
dbus Port of QDBusServiceWatcher::watchMode to new property system 2021-04-19 15:18:46 +02:00
entrypoint Fix qmake user projects for QT_LIBINFIX builds on Windows/iOS 2021-03-17 09:04:56 +01:00
gui Don't own unique name for QDBusTrayIcon 2021-04-21 22:21:36 +00:00
network Add Solaris support in cmake build 2021-04-21 20:57:04 +00:00
opengl Silence qdoc warning from deprecated enum value 2021-04-12 15:19:41 +00:00
openglwidgets Document QOpenGLWidget limitations without an alpha channel 2021-01-15 15:21:28 +01:00
platformsupport evdevtouch: Fix wrong addTouchPoint for "mtdev" 2021-02-23 14:22:20 +00:00
plugins [Android] Remove signal and slot mechanism to listen states in editor's 2021-04-22 10:40:59 +00:00
printsupport Add nullptr check 2021-03-16 18:44:17 +01:00
sql QSqlQuery: make it a move only type 2021-03-21 10:16:56 +01:00
testlib qpropertytesthelper: Check that the types match 2021-04-22 16:48:46 +02:00
tools CMake: Introduce zlib find script to work around hardcoded iOS SDK 2021-04-19 20:30:45 +02:00
widgets QLayout: mark unsetContentsMargins as the RESET function 2021-04-21 22:13:11 +02:00
xml The condition 'if(oldChild)' is redundant 2021-03-03 20:52:45 +08:00
CMakeLists.txt Make it possible to disable the PrintSupport module 2021-02-09 09:17:21 +01:00