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

How to hide SVG warnings in console?



  • My program loads many SVG files and I get a lot of warnings in console:
    @Could not resolve property : linearGradient4636
    Could not resolve property : linearGradient4592
    Could not resolve property : linearGradient4247
    link XMLID_10_ hasn't been detected!
    link g4868 hasn't been detected!
    Could not resolve property : linearGradient4112
    Could not resolve property : XMLID_29_
    link XMLID_36_ hasn't been detected!
    // and much more
    @
    How can I disable it?



  • Probably by fixing your SVG files? :)

    Seriously -- reading the Qt source doesn't give any valuable information about suppressing them?


Log in to reply