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



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


  • Qt Champions 2017

    Hi
    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:

    [Rules]
    *.debug=true
    qt.*.debug=false
    
    *.warning=true
    *.critical=true
    
    kscreen.*=true
    ; <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.