qDebug() doesn't work on Xubuntu 17.10 only qWarning() or qCritical()

  • Neither console.log in QML. How can i fix this?

  • Lifetime Qt Champion

    is that in a plain default Qt Widgets project?
    Also what Qt version ?
    Is it install from online or did you build it your self?

  • Installed online. Quick Controls 2 app.

    For now just found the solution from here
    created ~/.config/QtProject/qtlogging.ini file containing:

    ; <EOF>

    and it helped. Really strange behaviour though, used xubuntu 16.04 before and everything was good.

  • I got the same thing on upgrade to 17.10 from 17.04. Your solution worked - thanks!

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.