Hi,

The product that I am working on needs an auto updater.

Case 1:

A notification that a newer version of the software is available and if the user approves, it should start downloading the new version (probably in the background), and then install it automatically.

Case 2:

The software should silently download the newer version in the background and then install it after notification.

I am not sure which version to make.

I want to make an auto update library using Qt which can be used by any product that is developed using Qt.

Now the problems:

I have never written a library(.dll,.so or watever). I don't have any idea how it is written, in what cases it is written etc. I am complete newbie to this stuff.

Can someone please help me out ? If someone can refer me some tutorial or some sample code, I would be greatful to them.

Thanks a lot.