hatmann1944
28th July 2008, 17:47
i am a beginner of qt
qt4 + ubuntu
use the qdevelop to program.
code:
#include <QtGui/QTextEdit>
.....
QString ss = textEdit->text();//textEdit is a object of QTextEdit
......
but why the complier appear this error:
error: ‘class QTextEdit’ has no member named ‘text’
best regards
qt4 + ubuntu
use the qdevelop to program.
code:
#include <QtGui/QTextEdit>
.....
QString ss = textEdit->text();//textEdit is a object of QTextEdit
......
but why the complier appear this error:
error: ‘class QTextEdit’ has no member named ‘text’
best regards