0

All,

I am developing a Qtcreator plugin by myself, basically is to add a menu item to invoke an external python script, the problem I met is how to export message to output window, I tried qDebug, cout, which can only print the message to the Parent Qtcreator(the one I developing plugin), what I need is to export the message to output window of Qtcreator I built, does anyone know how to do that?

Thanks, Le

1 Answer 1

0

The easiest way to is call Core::MessageManager::write which prints the output to the "General" output pane.

To show output in a tab in the application output pane, you need to implement a ProjectExplorer::RunControl and start that through ProjectExplorer::ProjectExplorerPlugin::startRunControl.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.