[BUG] Generator Qt5 - QStringList parameter fails
Created by: Jazzco
Qt version: 5.15.2
Description
Lately the parameters has been changed to QVariant
. The conversions fails to work for QStringList
.
Details
Passing a QStringList
or a QList<QString>
as a parameter is converted to a QVariant
. Inside the generated method there is an attempt to convert QVariant
back via var.value<QList<QString>>()
which fails to work.
Solution
After patching the var.value<QList<QString>>()
to var.value<QStringList>()
the interface works as intended.