I want to do one thing, but I don’t know it this is possible.
My app starts with some messages in the console
std::cout << "appStart" << std:endl
after that, a child Qt process do draws in the framebuffer (the screen). If there is a fail in my Qt process, I’m able to capture it and kill the Qt process, and I want to show a message in the console
std::cout << "app CRASH!" << std:endl
but the screen is frozen with the last content draw by Qt and my message is not shown in the screen. How could clear the screen and show the console again to see my message?