How to suppress QXcbConnection: XCB error

Solution 1:

So far the best I could do:

export QT_LOGGING_RULES='*.debug=false;qt.qpa.*=false'