Unsolved qDebug() is not showing output in QT 5.12.1
-
hi,
I was using QT 4.8.7 and qDebug was showing log properly.When I updated my version to QT 5.12.1 everything is wokring except qDebug(). Now, qDebug() is not showing anything in QT 5.12.1
I created a new console project with QT 5.12.1 version, I can see that no log is printed. However, if I use qInfo(), I can see logs.
Can you please tell mw why qDebug() is not working ?
I am using Ubuntu 17.04
-
@Aminul Do you test debug build of your app?
Is QT_NO_DEBUG_OUTPUT set in your pro file? -
hi Jsulm,
QT_NO_DEBUG_OUTPUT is not set in the .pro file.
It seems many people are facing similar issues in Linux or Windows. -
@Aminul Some Linux distributions redirect debug output, so there are several possibilities what can go wrong.
How did you install Qt 5.12? With the online installer?
-
@aha_1980 yes online installer.