标题:QString相关 作者:mxh20999 日期:2009-05-24 21:20 内容:
我定义了一个LineEdit,我想在其中显示字符串,为何我调用LineEdit的函数setText(const QString &str)后有错误? error: expected primary-expression before ‘const’ 我在构造函数里定义了一个public变量 QString str, 高手解下惑,谢谢!
回复 发表主题 版块