Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

How to show console window near the Qt Widgets application?



  • I have a Qt Widgets application. I need that a console window will be visible behind my application, so I can see the qDebug messages in that console window. I also need that during Release mode, this console window will be visible and the qDebug messages will be written to it. How to do it? Thanks!


  • Lifetime Qt Champion

    Hi,

    The usual way is to use QT += console however it's not the best user experience. Why do you need to have that output ?


Log in to reply