call the checkForUpdate method after creating the QGuiApplication, otherwise the network is not ready