use qt5 and fall back to qt4