Hi,
I have a simple QT C++ application.
This is only part of the code:
QTextEdit* cont;
for (int x=0; x<2; x++) {
cont = this->findChild<QTextEdit *>("content0_"+QString::number(x));
QString con += cont->toPlainText();
// display con in a QTextEdit anywhere you want
}
Two QTextEdit have different values. Let just say "AA" and "BB".
The problem is the results is "AAAA" not "AABB";
The problem is in the "cont" variable. I won't get the new value.
Can you please help me.