qt6-bb10/tests/auto
Fabian Kosmale 6892300127 QVariant: Change metatype in convert() even on failure
The documentation of convert promised that “If the cast cannot be
done, the variant is still changed to the requested type”. This was not
the case so far, because we returned too early if canConvert returned
false.
This commit changes the behavior of the method to reflect its
documentation. The documented behavior seems more useful than the
alternative of not changing the metaType, at least for common use cases
inside qtdeclarative.

Change-Id: I09b5a5efb7344e76e93de278e35c7fb2b2f87dcd
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-09-30 06:31:36 +00:00
..
cmake CMake: Fix configuration of CMake tests in-build-tree 2020-07-20 18:12:23 +02:00
concurrent Fix QtConcurrent algorithms to work with temporary sequences 2020-09-28 15:48:17 +02:00
corelib QVariant: Change metatype in convert() even on failure 2020-09-30 06:31:36 +00:00
dbus Use QMetaType instead of integer based type ids 2020-09-23 19:30:28 +02:00
gui Revert "Blacklist tst_QWindow::exposeEventOnShrink_QTBUG54040" 2020-09-30 06:18:49 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
installed_cmake
network Further blacklist network tests on Windows MinGW 2020-09-29 19:56:45 +00:00
opengl Remove tst_QGL 2020-08-28 11:43:11 +02:00
other CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
printsupport QPrinter: fix unit tests for special case when no printer is default 2020-09-29 09:59:02 +02:00
shared Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
sql CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
testlib CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
tools Use QMetaType instead of integer based type ids 2020-09-23 19:30:28 +02:00
widgets tests/xcb: fix tst_QWidget::updateWhileMinimized() - again 2020-09-29 07:28:58 +00:00
xml CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
.prev_CMakeLists.txt CMake: Regenerate projects 2020-09-22 19:08:53 +02:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
auto.pro Don't error out when configuring Qt on a headless system 2020-09-26 14:36:13 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00