[Qt-interest] updating QT application

Nikos Chantziaras realnc at arcor.de
Thu Apr 22 05:46:00 CEST 2010


On 04/21/2010 04:49 PM, Andre Somers wrote:
> On 21-4-2010 15:37, David Boosalis wrote:
>> If updates can be done via FTP QFTP is a good way to go. Simply check
>> the version number against what is on the server. On Linux it might be
>> a bit tricky if you have to install it as root. Windows it might be a
>> bit easier as you can put your download an installer and launch it
>> after the download completes with QProcess. Maybe on Linux you can
>> download it as a RPM or debian package and figure out how to launch
>> the package manager.
>
> I think on linux, you should actually leave the updates to the package
> system period. No separate updater should be needed.

Won't work if the app is not included in the repos.

However, you can have "check for updates" functionality that won't try 
to update, but inform the user (maybe on startup) that there's a new 
version available.



More information about the Qt-interest-old mailing list