Since Qt 5.10.1 no more qDebug and cout output
-
Hey guys!
Since i installed latest Qt 5.10.1 on Windows, i don't get any output from qDebug lines and cout is only showing up after the app is closed followed by some random hex code i guess.
I'm using the precompiled version of Qt msvc2013_64. The last version of Qt i've used was 5.9.2 and also msvc2013_64 and qDebug just worked fine. Never had this issue before with any Qt version in the past.
And no, there is no QT_NO_DEBUG_OUTPUT involved. If i open the same project in an older Qt version everything is working just fine.
Any clues why there is no more qDebug output showing up?
Thanks!
-
Same problem since a day.
qDebug() visible in "run in terminial" BUT NOT in "Application Output" anymore.
(opensuse tumbleweed latest)Hi @Dr.-BFR
for Linux have a look here if this solves your problem: https://forum.qt.io/topic/54820/qt-qdebug-not-working-with-qconsoleapplication-or-qapplication/5
-
So far no luck. The Linux solution is no help for Windows and i lost my interest researching this problem after a few hours. Until this gets fixed i stay with Qt 5.9.2. It clearly is an issue related to Qt 5.10.1 because older version on the same PC/OS/installation do run just fine and qDebug output works as expected.
-
@qDebug said in Since Qt 5.10.1 no more qDebug and cout output:
So far no luck. The Linux solution is no help for Windows and i lost my interest researching this problem after a few hours. Until this gets fixed i stay with Qt 5.9.2. It clearly is an issue related to Qt 5.10.1 because older version on the same PC/OS/installation do run just fine and qDebug output works as expected.
This sounds like a regression. Could you please report this to https://bugreports.qt.io/ ?
-
So far no luck. The Linux solution is no help for Windows and i lost my interest researching this problem after a few hours. Until this gets fixed i stay with Qt 5.9.2. It clearly is an issue related to Qt 5.10.1 because older version on the same PC/OS/installation do run just fine and qDebug output works as expected.
@qDebug I know this sounds like a cliché, but have you tried deinstalling and installing ?
I had some serious issues the last 2 updates with qt and qtcreator and managed to fix in only with a complete reinstallation of the total framework.I'm on my 3rd installation in 6 Month, and I still have the issue that in qtcreator *cpp and *h icons share the same icon as *.pro files ....
-
I followed all links so far.
~/.config/QtProject/qtlogging.ini or in /usr/share/qt5 do not exist on SuSE
Checked with (WORKING debug output on OpenSuse 42.3): these files do also not exist there.
So, that can not be the solution.Conclusion: wait for next Qt update. It may be something internal (because the debugger jumps into the qDebug() and tries to output via return fromUtf8_helper ...
-
@qDebug I know this sounds like a cliché, but have you tried deinstalling and installing ?
I had some serious issues the last 2 updates with qt and qtcreator and managed to fix in only with a complete reinstallation of the total framework.I'm on my 3rd installation in 6 Month, and I still have the issue that in qtcreator *cpp and *h icons share the same icon as *.pro files ....