开发者

Is there a way to output "hello world" in the application output window in Qt Creator when programm is run?

开发者 https://www.devze.com 2023-03-30 05:01 出处:网络
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?

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";
0

精彩评论

暂无评论...
验证码 换一张
取 消