Make autoupdater work with qt5