qDebug() outputs only to QtCreator panel, but not to the cmd window
-
@hskoglund said:
no output in the CMD window is the expected behavior
It may be the expected default behaviour, but I'm pretty sure its changeable.
If I remember correctly (don't have a Windows host handy), you need to add:
CONFIG += console
to your build (eg *.pro file) if you want such output in release builds.
See, for example, this old thread: qDebug() under Windows.
Cheers.
-
@Paul-Colby said:
@hskoglund said:
no output in the CMD window is the expected behavior
It may be the expected default behaviour, but I'm pretty sure its changeable.
If I remember correctly (don't have a Windows host handy), you need to add:
CONFIG += console
to your build (eg *.pro file) if you want such output in release builds.
See, for example, this old thread: qDebug() under Windows.
Cheers.
Marvelous! You restored my faith in humanity!