In my QT application, I want to have it so some real-time information prints in the terminal if I run the application from the terminal.
When I use printf(\"print this\"
You can use qDebug() << ..., qWarning() << ..., etc. Don't forget to include .
qDebug() << ...
qWarning() << ...
Docs: QDebug