-
Notifications
You must be signed in to change notification settings - Fork 8
Library base on QT framework for update binary from a URL
License
betterinbox/QtUpdater
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
ReadMe for QtUpdater
This project is currently in progress.
The aim of the library is to update the binary of a QApplication from a Url.
main.cpp exemple:
------
#include <QApplication>
#include "UpdateManager.h"
int main(int argc, char **argv)
{
QCoreApplication app(argc, argv);
UpdateManager manager;
manager.checkUpdate(QUrl("http://update.betterinbox.com/update.php"));
app.exec();
}
------
The Url could be for example a php request which return a specific path to a version specify in the request.
A request to this Url should return formatted information as following:
------
url: http://example.com/of/your/compress/application/
md5: 2e8fcd6fc9e4ee6a577d8cc906267fc8
size: 8313151
------
Currently the new version application should be compress using "QByteArray::qCompress()" of Qt and finish by .bizAbout
Library base on QT framework for update binary from a URL
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published