fix runtest.sh, make tests.xml work for qt5 package