qt5base-lts/tests/auto/corelib
Fabian Kosmale 2d8757f879 QVariant::fromValue<T>: require T to be copy constructible
In Qt 5, QVariant::fromValue<T> would not compile unless
Q_DECLARE_METATYPE(T) was used, and Q_DECLARE_METATYPE(T) would lead to
a compile error if T were not copy constructible.
In Qt 6, we do not require Q_DECLARE_METATYPE before using fromValue,
and QMetaType itself works with non-copy constructible types just fine.
However, QVariant still requires it, thus we need to now enforce this in
fromValue itself.

Change-Id: Ib6964a438d8c46033dd3a037b9d871de2b42e175
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2021-01-18 15:51:18 +01:00
..
animation Remove the qmake project files 2021-01-07 15:32:28 +01:00
global Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
io QSettings: Add support for QMetaType::Float 2021-01-15 18:51:15 +01:00
itemmodels Make sure QMimeData is fully declared 2021-01-11 16:57:41 +01:00
kernel QVariant::fromValue<T>: require T to be copy constructible 2021-01-18 15:51:18 +01:00
mimetypes Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
plugin Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
serialization Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
text Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
thread Remove .prev_CMakeLists.txt files 2021-01-12 20:59:13 +01:00
time Remove the qmake project files 2021-01-07 15:32:28 +01:00
tools QCache: when overwriting, store the new cost instead of the delta 2021-01-14 10:00:01 +00:00
CMakeLists.txt Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00