Qt中调用C++文件时,调用QList类的at时,提示出错?什么意思阿?
numlist在头文件中定义为QList<int>型randnum.cpp:76:error:assignmentofread-onlylocation‘((Randnu...
numlist在头文件中定义为QList<int>型
randnum.cpp:76: error: assignment of read-only location ‘((Randnum*)this)->Randnum::numlist.QList<T>::at [with T = int](i)’ 展开
randnum.cpp:76: error: assignment of read-only location ‘((Randnum*)this)->Randnum::numlist.QList<T>::at [with T = int](i)’ 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询