I have the following character array:
char mychars[SIZE];
I would like to copy one character from a QTextEdit into that array.
I tried:
mychars[i] = this->ui->QTextEdit;
mychars[i] = this->ui->QTextEdit->inputContext();
But I get errors like:
error: invalid conversion from ‘QTextEdit*’ to ‘char’
You can retrieve the text in your QTextEdit using:
EDIT: