You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Qt Installer Framework: The updater requires the application to be installed using the framework and will use the frameworks update mechanism to check for updates (https://doc.qt.io/qtinstallerframework/, download at https://download.qt.io/official_releases/qt-installer-framework/)
40
-
- C++11 - The library makes heavy use of it's features
41
-
- Qt 5.6 (Since I'm using new features of 5.6, older Versions won't work without modification)
42
-
- If you are using Qt 5.5, you can download version 1.0.0. It's the only one that supports it
35
+
- Qt Installer Framework: The updater requires the application to be installed using the framework and will use the frameworks update mechanism to check for updates (https://doc.qt.io/qtinstallerframework/, download at via Qt MaintenanceTool)
43
36
- Since the Installer Framework supports Windows, Mac and X11 only, it's the same for this library
44
37
45
-
## Getting started
38
+
## Usage
39
+
The autoupdater is provided as a Qt module. Thus, all you have to do is add the module, and then, in your project, add `QT += autoupdatercore` or `QT += autoupdatergui` to your .pro file - depending on what you need!
40
+
41
+
### Getting started
46
42
The usage of this library is not that complicated. However, to make this work you will have to use the Qt Installer Framework to create and installer/updater. If you already now how to to that, just check out the examples below. If not, here are some links that
47
43
will explain how to create an online-installer using the framework. Once you have figured out how to do that, it's only a small step
48
44
to the updater library:
@@ -67,24 +63,24 @@ The following example shows the basic usage of the updater. Only the core librar
67
63
68
64
intmain(int argc, char *argv[])
69
65
{
70
-
QCoreApplication a(argc, argv);
71
-
//create the updater with the application as parent -> will live long enough start the tool on exit
72
-
QtAutoUpdater::Updater *updater = new QtAutoUpdater::Updater("C:/Qt/MaintenanceTool", &a);//.exe is automatically added
@@ -134,15 +130,15 @@ Downloads are available via [github releases](https://github.com/Skycoder42/QtAu
134
130
- msvc2015 x64
135
131
- mingw 4.9.2
136
132
- OsX
137
-
- clang x64
133
+
- clang x64
138
134
- X11 (Linux)
139
-
- gcc x64
135
+
- gcc x64
140
136
- The (public) header files needed for these binaries
141
137
- The HTML and QtHelp documentation
142
138
- The german translations and the translation template file
143
139
144
140
**Note:**<br>
145
-
The downloads are "libraries", not dll/so/dylib files. If you want to use them as dynamic library, you will have to modify the code and build them yourself.
141
+
The downloads are "libraries", not dll/so/dylib files. If you want to use them as dynamic library, you will have to modify the code and build them yourself.
146
142
147
143
## Building it yourself
148
144
If you want to build the QtAutoUpdater yourself, make shure that you fullfill all the requirements listed above. To build it, the only other dependencies beside Qt itself is the [DialogMaster](https://github.com/Skycoder42/DialogMaster), which is referenced as submodule. Just make shure to clone the repository recursivly. But please note that the project only supports Desktop Windows, OsX and X11. Trying to build it for other configurations will propably fail!
0 commit comments