Set QT_QPA_PLATFORM=offscreen for Ubuntu etc