Is there a way to output "hello world" in the application output window in Qt Creator when programm is run?
I'm trying to make something like plugin that outputs certain text when Qt creator runs any program. Doe开发者_StackOverflow中文版s anyone have any idea what should I use to achieve that?
edit: I need to make plugin that checks whether user has used appropriate style of programming. (Has put spaces where required for example) But I'm not sure how it is done so I try to start with some simple output while building.
You can use one of the debug statements:
qDebug() << "some debug info";
qWarning() << "a warning";
精彩评论