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/)
@@ -94,7 +94,7 @@ int main(int argc, char *argv[])
94
94
```
95
95
96
96
#### UpdateController
97
-
This example will show you the full capability of the controller. Since there is no mainwindow in this example, you will only see the controller dialogs. Please not that you can control how much of that dialogset will be shown to the user. This example is *reduced*! for a full example with all parts of the controller, check the Tests/WidegtsTest application.
97
+
This example will show you the full capability of the controller. Since there is no mainwindow in this example, you will only see the controller dialogs. Please not that you can control how much of that dialogset will be shown to the user. This example is *reduced*! for a full example with all parts of the controller, check the `Tests/WidegtsTest` application.
98
98
99
99
```cpp
100
100
#include <QApplication>
@@ -106,9 +106,9 @@ int main(int argc, char *argv[])
106
106
//Since there is no mainwindow, the various dialogs should not quit the app
107
107
QApplication::setQuitOnLastWindowClosed(false);
108
108
//create the update controller with the application as parent -> will live long enough start the tool on exit
109
-
//since the parent is not a widget, all dialogs will be top-level windows
109
+
//since there is no parent window, all dialogs will be top-level windows
110
110
//QtAutoUpdater::UpdateController *controller = new QtAutoUpdater::UpdateController(&a);
111
-
QtAutoUpdater::UpdateController *controller = new QtAutoUpdater::UpdateController("C:/Qt/MaintenanceTool", &a);//.exe is automatically added
111
+
QtAutoUpdater::UpdateController *controller = new QtAutoUpdater::UpdateController("C:/Qt/MaintenanceTool", &a);//.exe is automatically added
@@ -129,7 +129,7 @@ The documentation is available within the releases and on [github pages](https:/
129
129
The documentation was created using [doxygen](http://www.stack.nl/~dimitri/doxygen/). It includes an HTML-documentation and Qt-Help files that can be included into QtCreator (QtAssistant) to show F1-Help (See [Adding External Documentation](https://doc.qt.io/qtcreator/creator-help.html#adding-external-documentation) for more details).
130
130
131
131
## Translations
132
-
The core library does not need any translation, because it won't show anything to the user. The Gui library however does. The project is prepared for translation. But since I speak only english and german, those are the only languages I can provide translations for. However, you can easily create the translations yourself. The file `AutoUpdaterGui/translations/QtAutoUpdaterController_template.ts` is a ready-made TS file. Just rename it (e.g to `QtAutoUpdaterController_jp.ts`) and open it with the QtLinguist to create the translations.
132
+
The core library does not need any translation, because it won't show anything to the user. The Gui library however does. The project is prepared for translation. But since I speak only english and german, those are the only languages I can provide translations for. However, you can easily create the translations yourself. The file `AutoUpdaterGui/translations/QtAutoUpdaterController_template.ts` is a ready-made TS file. Just rename it (e.g. to `QtAutoUpdaterController_jp.ts`) and open it with the QtLinguist to create the translations.
133
133
134
134
## Downloads
135
135
Downloads are available via [github releases](https://github.com/Skycoder42/QtAutoUpdater/releases). The downloads include:
0 commit comments