Skip to content

Qt software version update auto check,when website have some change

Notifications You must be signed in to change notification settings

PuddingPengChen/SoftUpdateModel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SoftUpdateModel

Qt software version update auto check,when website have some change

How to use it?

    1. Use you Qt5 Qtcreator open the sample.pro
    1. Build it
    1. In the main.cpp file,change the follow funcation to change your local software version:
    QApplication::setApplicationName("Sample");
    QApplication::setApplicationVersion("2.0");

change the version .

    1. Edit you Appcast.xml file , most useful information are in
<enclosure
				url="http://you.com/app/Your%20Great%20App%202.0%20Windows.zip"
				fervor:version="2.0"
				fervor:platform="Q_OS_WIN32"
				length="1656492"
				type="application/octet-stream" />
    1. Change you main.cpp file,following function:
    FvUpdater::sharedUpdater()->SetFeedURL("http://www.xxx.com/Appcast.xml");

the software will compare the local software's version and the Server's Appcast.xml file.Your ReleaseNote also put inthe same path of your server.

About

Qt software version update auto check,when website have some change

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published