| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Task-number: QTIFW-2253
Change-Id: Idf0216c1b4491160ee06924241bf26aaace9c883
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When collecting information about the paths to be compressed into
unified metadata, if the package directory used to update repository was
missing replacements for two or more components, it would reveal an
issue with the traversing of the existing repository directory.
Fix by adding the missing "cd up" after entering a component entry
directory. Add new test case.
Task-number: QTIFW-2287
Change-Id: Ica1228968398b6e987bdf89336f74f53fcd35d27
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ComponentSelectionPage::isComplete() would return false if the state of
the component model was "DefaultChecked" and user had not (de)selected
any new components. This change adds a condition to check if there are
any ForcedInstallation components that haven't been previously
installed, and allows navigating forward and installing those without
additional selections.
Task-number: QTIFW-2286
Change-Id: I273cc7219df1eae4e11ff23e733d71a9c297bedd
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Value of StartMenuDir variable should be permanent after initial
installation and must be read from maintenancetool.ini, don't use the
default value from internal configuration file (metadata/installer-
config/config.xml) of the maintenance tool binary as it:
- Does not contain the path prefix for either user or system-wide start
menu directory, we add this later depending on the installation type.
- May change altogether with a new configuration file if the vendor has
provided an update mechanism for maintenance tool, or if the user has
opted for a non-default location.
Task-number: QTIFW-2284
Change-Id: Id731d151b9f0acc77aa146722d1e088ea6a47eb3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
| |
Also make the detailed output to be shown on the installation
error message box.
Task-number: QTIFW-2273
Change-Id: I9c678a0b382d52a6ff9ba78e0d93118714cc96ae
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Installer may leave an event loop running in DownloadFileTask::doTask
when shutting down, if Downloader::testCanceled() was not yet triggered
by connection events, or by a timer timeout used to check if the user
has canceled download while the connection is blocked.
Fix by waiting for the tasks to finish when canceled.
Task-number: QTIFW-2282
Change-Id: I8800cdb3c368da3edaf8def50e3b8e837d3e993c
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The "component::addDependency" and "component::addAutoDependOn" methods
support also specifying a comma separated list of components in the same
string parameter.
Change-Id: I7f4d289d80d4efd485a0cfa64c6dda93bfc2f59a
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTIFW-2264
Change-Id: Ie7191ba75d923cc8d8eb353f7fac85818b87591f
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Use a function overload of QUrl::fromUserInput that takes a
workingDirectory parameter, in order to be able to handle relative
paths. Otherwise a string pointing to a relative local file path is
handled as a short form of a HTTP URL.
Change-Id: I5811661680728e79555ea7b99d0a1e8a8f294b44
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2252
Change-Id: Icbcc61efb34c29a2bb2d0a7b01f2e3bad4d5ddd6
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This will ensure that any early error messages are translated if
there are any translations for them. Such as the already running
instance string. As a result this means that a check if the
installer is already running is done slightly later to allow the
loading of the translations first before checking.
Fixes: QTIFW-1888
Change-Id: I75ef22d98ca4de9a05e7dd485b5afed5652529bc
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2268
Change-Id: I61e5f7963a55dcdc25aff171523fe078af309785
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Due to a limitation with the AllUsersStartMenuProgramsPath, Windows
drops the arguments to the target and the Description set. It never
reports an error and also appears to have the arguments set, so we
have no way of catching the problem and trying to workaround it.
Fixes: QTIFW-2257
Change-Id: I28e7a2e0733b462ab759797e61afdbae4be4b04f
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
| |
IFW user can define the used language in config.xml.
defaultTranslationsLoadedForLanguage -signal was not sent in that case.
Task-number: QTIFW-2266
Change-Id: I8b5abb532b50982e0f6b845251462cc1fef99b9c
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Translations are read from resource. The file name must match case
sensitively so that resource loading will succeed.
Task-number: QTIFW-2265
Change-Id: Iabc899b99bbbed346ff8e7395af82545e9079eb2
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
| |
Change-Id: Ie0df7b2b85a9392e9895862e76ccc72cf1cc9edd
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
| |
Change-Id: I3c2c0788f700267d636c5a250a6d46ab51d99903
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2225
Change-Id: I6a7fdfc1070ad54d520563cae7d2446e97e2e87c
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
| |
Change-Id: I5f8c22cd22356f6c256ce7e53db65a6a43717a19
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTIFW-2217
Change-Id: I15af0ac81842db386bb8d86b4a76bdd45722b4a9
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Component translations were following the system language although
allowed languages were set in config.xml using <Translations> field.
Also the translation file name was not correct as IFW languages has the
syntax 'ifw_<language>'.
Task-number: QTIFW-2220
Change-Id: I6a6f19351cbb956accbc22bc532f7a12dde21a2f
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTIFW-2199
Change-Id: I56f3663ae605b2c568925702e06c4438e11830ac
(cherry picked from commit 35f79da9cb99c7c0456f002829dc0fdfe55b4f8d)
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Wayland dependency is added to installer binaries if it is found from
system at build time. Added explicit dependencies only to xcb and
minimal platform plugins.
Task-number: QTIFW-2067
Change-Id: I0b65ef10824122c7041f1aa566d7a989aa085503
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
| |
The compiler issued a -Wreorder warning for m_core & m_runCheck.
Change-Id: Id55d40132e41ab3c92f192d469bce095941a3acf
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Maintenancetool has saved values, which are loaded after installer has
initialized some values, overwriting the installer initial values. Fixed
so that only values that are not already set in installer init will be
set from maintenancetool ini file.
Task-number: QTIFW-2218
Change-Id: Ide6a3f67daec81fe22d6dcde1e95a28f5ed2c53a
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The installation information XML file (components.xml by default) is
not yet written to disk when downloading archives. Canceling the
installation here would try to remove the not-yet-created file
unconditionally.
Task-number: QTIFW-2213
Change-Id: I922ffd7d1344755ed7fcf3f02e83bc02e789cd17
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTIFW-2210
Change-Id: If02422317039cc7aced3ff175576660cb260a005
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
IFW binaries cannot be signed as then the end executable is signed
making it impossible for users to sign their own installers with their
own keys.
This change also exports IFW tools, examples and docs for online
repository usage.
Change-Id: I5094c50ea804854ba619216b03f6dc25ebedee57
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2195
Change-Id: Iaf75d4a4ff20f20a36c0b2d21abb3969b86b5a84
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTIFW-2197
Change-Id: I63a0bb265105f5a722ab8c645fa3511328bbcb33
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTIFW-2189
Change-Id: Ic6f56156194039cca7bebf095fad8c1fc66fc275
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
| |
Change-Id: Ief73309a0fafb2b4a88bfa633edba19e684459f4
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
| |
Change-Id: Ief0885c94e7497de834e6f6de14bd485244e8ab0
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
| |
This signal is needed in QtInstaller when we want to track components
which are unstable.
Task-number: QTIFW-2172
Change-Id: I464d7ad9373089d5001f442ad69a076579ee3228
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
| |
Change-Id: I980a03da17dc766d2ad070332bc5a8f2328fb000
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
| |
Change-Id: Ia5e003d4b6db40d1a58bac1af48566cab2126abe
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Apparently it is not enough to unset the MAKEFLAGS for jom.
It still was running test in parallel and trying to write
results to same file.
Change-Id: Id0c968dde4c2d005e71a1895e3d2190e8685f3ec
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
(cherry picked from commit 4687686a64057618e58931912b8a12997fa0f1a3)
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-1425
Change-Id: I474eba5c9b46fed94408dd255ee2ebcc58b894b0
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2150
Change-Id: I8a216ed99aaa68347558cb90a712d2afd1147268
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Package directory name cannot contain characters ':' or '-' as
those are used as a separator for version number. This information was
not found clear enough in the documentation.
Task-number: QTIFW-2146
Change-Id: Id291cf821f35b7ef5b6d720c94b46f2e83c9d6d9
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|
|
|
|
|
|
|
| |
Fixed by not deleting the uninitialized pointer.
Task-number: QTIFW-2149
Change-Id: I4ed768828f6e662c63bf83550c127987205e92d5
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Change-Id: Ibb8da857319eff6119b0296375b6c38578729559
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This also changes some of the return values in our CLI-related
functions in PackageManagerCore class to better catch cases
where we exit without failing but also without doing anything.
Also adapt existing tests.
Task-number: QTIFW-2028
Change-Id: I73c4ca1b20d439773d0e290195f137d0d7369d17
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
| |
Key-value pairs given from command line should overwrite all common
variables and custom variables saved to maintenancetool.ini
Task-number: QTIFW-2021
Change-Id: I1abd8b67e6ae76051a2887965099e00344bc5cc0
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Windows frame is calculated to availableGeometry(). If wizard default
height is set higher than that, the buttons remains partly unvisible
under the taskbar.
Change-Id: Ia0610e72fc84356e6c18d6f332a84947179d714a
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Correct value is 'Common Desktop' for AllUsers instead of
'Desktop'.
Change-Id: Ice375f56401600e50d126694bbb0a7cc1bb61ad9
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2046
Change-Id: Id1c3d24e8c385bdfbe0a7837be774f885a192aa4
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
| |
Some source strings have been added, changed, moved, removed,
etc. over a period of time.
Task-number: QTIFW-2126
Change-Id: Id84b2001f3229c02d6ebbf1e79301573c9701eb2
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
| |
This makes it easier to get the load order correct, if there are
translations to be loaded for additional pages from vendor
extensions to the internal C++ API.
Change-Id: I9e10cfa7e1cbf25f87d998157436c44425403cac
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Setting <TreeName> -tag to component.xml will overwrite the default location
of component in installer's tree view. This way we can define the component
location without a complete repo build. Updates.xml can be directly modified
by adding <TreeName> -tag for easy relocation of components. TreeName must be
an unique name - it cannot conflict with existing tree name or name.
Task-number: QTIFW-594
Change-Id: Ie69f90f1303d932369d566d0d7b4bc0e354505c6
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|