qt5base-lts/tests/auto/corelib/kernel
Christian Ehrlicher 66a1a71f1f Fix QVariant(QString) <-> enum conversion
A QVariant(QString) was not convertible to an enum not registered with
Q_ENUM() which worked fine in Qt5.
The same problem exists for QVariant(enum) to QString.
Fix it by not bailing out when no metatype for the enum was found and
try to convert it to a qlonglong instead (which is then correctly
converted to the enum type).

Fixes: QTBUG-109744
Pick-to: 6.5 6.4
Change-Id: Ie7bb016a860455b69508f0f46b36474c9c294f3a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2023-02-08 23:20:42 +01:00
..
qapplicationstatic Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qcoreapplication Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qdeadlinetimer Remove preprocessor conditionals for chrono include 2022-09-16 08:09:05 +02:00
qelapsedtimer Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qeventdispatcher Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qeventloop Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qjnienvironment CMake: Remove direct qt_android_generate_deployment_settings call 2022-12-15 20:23:28 +01:00
qjniobject CMake: Remove direct qt_android_generate_deployment_settings call 2022-12-15 20:23:28 +01:00
qjnitypes JNI: add generic support for array-types 2022-10-10 20:19:30 +02:00
qmath Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qmetacontainer Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qmetaenum Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qmetamethod Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qmetaobject Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qmetaobjectbuilder Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qmetaproperty Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qmetatype QMetaType: fix value-initialization in a corner case 2022-12-30 01:51:08 +01:00
qmimedata Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qobject Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qpermission Q{Contacts,Calendar}Permission: bool readWrite → enum AccessMode 2023-02-02 14:34:02 +01:00
qpointer Compile guard tests in corelib/kernel that need threading support 2022-09-11 19:36:49 +02:00
qproperty Avoid accessing deleted binding data in grouped updates 2023-02-08 16:54:26 +01:00
qsignalblocker Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qsignalmapper Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qsocketnotifier Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qtimer Port from container::count() and length() to size() - V5 2022-11-03 14:59:24 +01:00
qtranslator Compile guard tests in corelib/kernel that need threading support 2022-09-11 19:36:49 +02:00
qvariant Fix QVariant(QString) <-> enum conversion 2023-02-08 23:20:42 +01:00
qwineventnotifier Change the license of all CMakeLists.txt and *.cmake files to BSD 2022-08-23 23:58:42 +02:00
qwinregistrykey QWinRegistryKey: Fix how we handle the default value, take 2 2022-10-28 09:27:13 +00:00
CMakeLists.txt IPC: Move QSharedMemory and QSystemSemaphore from kernel/ to ipc/ 2023-01-22 13:01:53 -03:00