QtSiteLicense: Difference between revisions
(Created page with "== Create offline installer with specified license key and proxy: == The generated offline installer in the example will contain QtCreator, and Qt 6.2.0 mingw and msvc binarie...") |
No edit summary |
||
Line 1: | Line 1: | ||
== Create offline installer with specified license key and proxy: == | ==Create offline installer with specified license key and proxy:== | ||
The generated offline installer in the example will contain QtCreator, and Qt 6.2.0 mingw and msvc binaries. | The generated offline installer in the example will contain QtCreator, and Qt 6.2.0 mingw and msvc binaries. | ||
License key and proxy url is bundled into the created offline installer. | License key and proxy url is bundled into the created offline installer. | ||
qt-unified-windows-x86-4.3.0-online.exe create-offline qt.qt6.620.win64_mingw81 qt.qt6.622.win64_msvc2019_64 --confirm-command --auto-answer telemetry-question=Yes,AssociateCommonFiletypes=Yes | qt-unified-windows-x86-4.3.0-online.exe create-offline qt.qt6.620.win64_mingw81 qt.qt6.622.win64_msvc2019_64 --confirm-command --auto-answer telemetry-question=Yes,AssociateCommonFiletypes=Yes --default-answer --accept-licenses --root C:\Qt\MyOfflineInstaller --offline-installer-name offlineInstaller --license-keys XXXXX-XQX-FFF-XXX-RNAXX-LVVVV-1234 --proxy-url http://localhost:8080 | ||
== Install with offline installer == | ==Install with offline installer== | ||
Install with following command, make sure you have the proxy running before installing: | Install with following command, make sure you have the proxy running before installing: | ||
C:\Qt\MyOfflineInstaller\offlineInstaller install qt.qt6.620.win64_mingw81 qt.qt6.622.win64_msvc2019_64 --confirm-command --auto-answer telemetry-question=Yes,AssociateCommonFiletypes=Yes | C:\Qt\MyOfflineInstaller\offlineInstaller install qt.qt6.620.win64_mingw81 qt.qt6.622.win64_msvc2019_64 --confirm-command --auto-answer telemetry-question=Yes,AssociateCommonFiletypes=Yes --default-answer --accept-licenses --root C:\Qt\MyOfflineInstallation | ||
== Overwriting the license keys and proxy url == | ==Overwriting the license keys and proxy url== | ||
License keys and proxy can be overwritten in the offline installer: | License keys and proxy can be overwritten in the offline installer: | ||
Revision as of 13:34, 30 December 2021
Create offline installer with specified license key and proxy:
The generated offline installer in the example will contain QtCreator, and Qt 6.2.0 mingw and msvc binaries. License key and proxy url is bundled into the created offline installer.
qt-unified-windows-x86-4.3.0-online.exe create-offline qt.qt6.620.win64_mingw81 qt.qt6.622.win64_msvc2019_64 --confirm-command --auto-answer telemetry-question=Yes,AssociateCommonFiletypes=Yes --default-answer --accept-licenses --root C:\Qt\MyOfflineInstaller --offline-installer-name offlineInstaller --license-keys XXXXX-XQX-FFF-XXX-RNAXX-LVVVV-1234 --proxy-url http://localhost:8080
Install with offline installer
Install with following command, make sure you have the proxy running before installing:
C:\Qt\MyOfflineInstaller\offlineInstaller install qt.qt6.620.win64_mingw81 qt.qt6.622.win64_msvc2019_64 --confirm-command --auto-answer telemetry-question=Yes,AssociateCommonFiletypes=Yes --default-answer --accept-licenses --root C:\Qt\MyOfflineInstallation
Overwriting the license keys and proxy url
License keys and proxy can be overwritten in the offline installer:
C:\Qt\MyOfflineInstaller\offlineInstaller install qt.qt6.620.win64_mingw81 --confirm-command --auto-answer telemetry-question=Yes,AssociateCommonFiletypes=Yes --default-answer --accept-licenses --default-answer --accept-licenses --root C:\Qt\MyOfflineInstallation --license-keys FFFFF-QQq-FFF-XXX-RNAXX-LLLLL-1234 --proxy-url http://anotherProxy:8080
You can also change the proxy by setting the env variable QT_API_URL=<new_proxy_url>
More information about what the installer commands and options mean can be found from:
https://wiki.qt.io/Online_Installer_4.x
or typing installer.exe --help