Unsolved Global print out.
-
In a Qt Console Application - printf - prints the messages on the console window. In a Qt Widget Application - can I redirect printf to print in some text box or may be there is some other function with similar functionality to print in a visual component?
-
Nothing exist to do this.
-
@jenya7 you may want to take a look at the QDebug feature since:
QDebug is used whenever the developer needs to write out debugging or tracing information to a device, file, string or console.
and you can also couple that with qInstallMessageHandler() to define and install a QtMessageHandler that will give you plenty of possibilities for logging redirection...
-
@Pablo-J-Rogina said in Global print out.:
@jenya7 you may want to take a look at the QDebug feature since:
QDebug is used whenever the developer needs to write out debugging or tracing information to a device, file, string or console.
and you can also couple that with qInstallMessageHandler() to define and install a QtMessageHandler that will give you plenty of possibilities for logging redirection...
Thank you