Update lib to use qt5.