fix arch test fail for some Qt versions