Solved ui->textedit->append(): The program has unexpectedly finished
-
Hi, I've a problem with textedit inserted by designer.
Why this line generate the immediate termination of program?ui->textEdit->append("Hello World...");
What's wrong?
Many thanks.
Stefano
-
@Stefanoxjx hard to tell without more code, but my crystalball tells me:
ui->textEdit
does not exist at the moment you try to access it. -
Hi J.Hilk, you're right.
I tried to append text before to invoke "ui->setupUi(this);"
Many thanks for your illumination and thanks at your crystall ball :)Stefano