Closed moodyhunter closed 3 years ago
I was trying to port Qaterial to Qt6 and found this issue.
function signatures listed below are changed (class QQmlListProperty)
QQmlListProperty
CountFunction = qsizetype (*)(QQmlListProperty<T> *); AtFunction = T *(*)(QQmlListProperty<T> *, qsizetype); ReplaceFunction = void (*)(QQmlListProperty<T> *, qsizetype, T *);
where int is replaced by qsizetype.
int
qsizetype
In this PR a conditional type alias is used to keep the compatibility for both Qt5 and 6.
Thanks a lot for contribution!
If you are interested about qaterial we have a discord here https://discord.gg/39kqt24s
I was trying to port Qaterial to Qt6 and found this issue.
function signatures listed below are changed (class
QQmlListProperty
)where
int
is replaced byqsizetype
.In this PR a conditional type alias is used to keep the compatibility for both Qt5 and 6.