Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QLogingCategory, cant disable output...



  • Hey

    So I made a bunch of login categories and in my int main() I've added this >

        QLoggingCategory::setFilterRules("*.[<type>]=false");
    

    But when I run my app, I'm still getting qCDebug/Info/Warning printing... How should I use that system?

    Should I call this function ,before I make QApplication/after ? When/where?


  • Lifetime Qt Champion

    Hi,

    Can you show your category declaration and the exact line you are using to disable them ?

    When are you calling it ?