Solved How to implement a buffer-display widget just like "Application Output" widget in qt-creator?
-
I want to let all strings that sended by using
printf(...)
, display on a widget ( QLabel, QLineEdit,,,).Just like the upper pic, the "Application Output" widget in qt-creator is what I want.
Could someone give me any advice?
-
@Limer This should help: https://stackoverflow.com/questions/4810516/c-redirecting-stdout