문제

I have stored QStringList in a QVariant variable while calling setData function. Now I'd like to restore this data from QVariant variable. How to do it?

Edit: I tried convert but I don't seem to understand how it works.

도움이 되었습니까?

해결책

QVariant has a toStringList() method.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top