Take into account the use of qt5