| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Task-number: QTIFW-2245
Change-Id: Id9a79c7c572dc588c05ad37c67ae3f0431fa7cdb
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
|
|
|
|
|
| |
Change-Id: Iec5ee6a8eb522a0a70afbba80a0161d27e545c9a
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|\
| |
| |
| | |
Change-Id: Iff5a7a99afca53305c7f404a74f210f67728dd54
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTIFW-2244
Change-Id: Ib3c717eb7fd76bdc928072630177c71933e8aef1
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I86049138466399411ba36791330f4a94faad8c52
|
| |
| |
| |
| |
| |
| | |
Task-number: QTIFW-2225
Change-Id: I6a7fdfc1070ad54d520563cae7d2446e97e2e87c
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>
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Task-number: QTIFW-2199
Change-Id: I56f3663ae605b2c568925702e06c4438e11830ac
Reviewed-by: Iikka Eklund <iikka.eklund@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: Ic5f32d7c18f728166500a480cf854b6ffae2ce82
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Using a stylesheet with transparent background property for most
widgets revealed the page's QToolBox widget and its children were not
hidden properly when category layout was hidden.
Change-Id: Ic710b348c50edef823d27eccd6092d531da24bf9
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|\|
| |
| |
| | |
Change-Id: I8adecc4573134d2b33f2b98fba9372320b2f8737
|
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move the category widget from the leftmost column in the page
as it takes a lot of horizontal space, and we don't utilize the
empty space below it.
Add a QToolBox widget to the rightmost QGridLayout column to
display either component information or repository categories
at a time. If category widget is not shown, display the description
widgets directly on the page's QGridLayout without the tool box.
Task-number: QTIFW-2096
Change-Id: I04266789e3e4b7ce352b7e0a7230ab80c5e295ce
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In a somewhat rare case, it is possible that a same package exist in
multiple repositories. The latest available package from remotes is
used - however if we select that package for inclusion and also
implicitly get some other package from the another repository it exists
in with an older version (autodependency, etc.), that repository is then
also used to parse package information, and we store a duplicate entry
of the package to the Updates.xml to-be-written to the offline
installer binary.
Fix by appending only the package with the latest version to the
PackageInfoVector object used to temporarily hold the package
information.
Task-number: QTIFW-2190
Change-Id: Icdb3dc979153dfada37fdb0aabb3c718bc8aedff
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Search command results can now be optionally filtered with
the '--filter-packages'-option, which takes an unspecified
count of key-value pairs that contain the desired package
information element and a regular expression used to find
matches in the element.
Example usage:
'installer --fp "Version=1.0, Description=Some text" search *'
Only the packages which match all given filter rules are
included in the output print.
Task-number: QTIFW-2168
Change-Id: I788b065d95952b988489c36db80b3c859b970f05
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| |
| |
| |
| |
| |
| | |
Task-number: QTIFW-1794
Change-Id: I3225da785d52f0631b84341a4fe3d3db0fc0a171
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
|\ \ |
|
| |\|
| | |
| | |
| | | |
Change-Id: I2b2ec3606eb50d390da6e59391c0e17a31e08c54
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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: Ia5e003d4b6db40d1a58bac1af48566cab2126abe
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTIFW-1425
Change-Id: I474eba5c9b46fed94408dd255ee2ebcc58b894b0
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Previously subcomponents of a virtual component were shown on
search results, and trying to install these would print a bit
vague message: 'Component not found'. As the sub-branches of
virtual component nodes are hidden on GUI, we should also hide
them when using CLI search, and give a more appropriate error
message why the component cannot be explicitly selected for
installation, if the user still tries to do so.
Also some minor refactoring to the handling of supplemental
information about binary type of the running installer/mt.
This change does not fix the possible case of an install script
changing the 'virtual'-state of a component, as it would require
downloading and evaluating the full metadata for repositories (or
components), which would impose a performance penalty to search.
Task-number: QTIFW-2168
Change-Id: Ibacaca23c38f5ea98967955d91849cefc1f11f61
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
MessageBoxHandler will decide an appropriate parent widget for new
QMessageBox objects just before they are shown. This is not quaranteed
to be a PackageManagerGui instance, for example when the installer
wizard does not have focus, which means the style properties do not
get inherited.
Rather set the used style sheet for the whole application using
QApplication::setStyleSheet().
Task-number: QTIFW-2121
Change-Id: I6f2131279d6f6d3dd41b9eacab8404770aad09a3
Reviewed-by: Katja Marttila <katja.marttila@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Idff9a40c5089b4de7b8afd1c280603601317beda
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ia8305652afdf29cbc88328b76f5156187aa54dba
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
list
Change-Id: I5bb8c8f81a391abc5cdfdf5a0c7a68bb5edcec89
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ibf92b3e93ca11428f92e60031a5c8c3c5f60b402
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|/ /
| |
| |
| |
| | |
Change-Id: I77acdecaf5660f2d7aa723c56d53a97e5687a8b8
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
| |
| |
| |
| |
| | |
Change-Id: I38c52e2412f50e0aba41876112a66956b9de2920
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Components can be updated from online repository using version number.
Sometimes there is a need to update to an older version which is now
possible by using content sha. Content sha can be added to repository
with repogen --sha-update <component_id>. If there is a new content sha
available in the repository, component is updated although it version
number might be smaller. After the content sha is removed from online
repository, the normal update with version number is performed.
Task-number: QTIFW-1798
Change-Id: Id9e32b0345af5101cccaf6e30c81bd39691d9590
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|/
|
|
|
|
|
|
| |
Functionality is only moved from repogen.cpp to repositorygen.cpp. This
makes the repository testing much easier.
Change-Id: I2078e2880955c71b9ffa0ac46501eafbd499c3ba
Reviewed-by: Arttu Tarkiainen <arttu.tarkiainen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTIFW-2150
Change-Id: I8a216ed99aaa68347558cb90a712d2afd1147268
Reviewed-by: Katja Marttila <katja.marttila@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>
|