Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.5.0
-
None
Description
The invokeMethod behaviour is different 5.15.10 vs 6.5.0 when using QList. The QList<quint8> is converted to a QList<uchar> when cast to a QVariant. Qt5 sees both types as the same, whereas Qt6 doesn't when trying to locate the method to call.
I included some rough code (sorry) which shows the issue. It seems the only workaround is to convert all code to use QList<uchar> which requires a large effort in our project. I guess this is a side effect of the changes to QList in Qt6
Code is attached
Attachments
Issue Links
- relates to
-
QTBUG-114362 qmetamethod invoke changed source-incompatible way
- Open