And here another one of the possibilities:
Using the Qt Installer Framework: It provides installers for Windows/Linux/Mac with an build-in updater. If you need an example - The MaintenanceTool of your Qt-Installation uses the framework.
To get an auto-updater from it, all you need to do is:
- Create an online installer (Just check the documentation, it's not that hard)
- Use the maintenancetool in your application to check for updates.
- This cane be done using my QtAutoUpdater. Go there for more information about the whole process
- If new updates are available, the maintenancetool can be started in updater mode to install the update
- Update the online repository - and your update is out.
Advantages:
- Installer and updater in 1 tool - this means less work for you
- Easy to use (with or without the QtAutoUpdater library)
- Cross-Platform for all desktop platforms supported by Qt
- The installer itself is a Qt original
Disadvantages:
- No "native" installers (i.e. no
.msi
on windows or .deb
on ubuntu)
- Must be used together - if you want to use the update feature, you have to use the framework as installer