Obviously we need to pass the authenticator everywhere.Change-Id: I8f51582f54ef3c58d439dfffb7ba7802bc47b797
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Improve error message for ConsumeOutputOperationAvoid a warning that e.g. 'qmake.exe.exe' does not exist, when the
argument was qmake.exe.
Task-number: QTBUG-38343
Change-Id: Icdfc8ffc8e112b23fb0e789d6041ea7eefaf55c3
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
ConsumeOutput: Use local encoding to parse executable outputWe don't really know which encoding the app will use. local 8 bit
seems to be the best bet though.
Change-Id: Ic4d8668ed5f5a6eca55d44348ae54adb903bf447
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Reviewed-by: Niels Weber <niels.weber@digia.com>
Mac: Do not require Xcode command line tools/usr/bin/xcrun is the tool to use for running build tools from the
current Xcode installation, without the need to install anything beside
it.
Task-number: QTBUG-38015
Change-Id: I32ba8bfac2f2c49e863fe8aeeecaf3df80afb8c8
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Reviewed-by: Niels Weber <niels.weber@digia.com>
Fix a possible race and some wrong assumptions about file ownership.The download archive job does not need to cleanup the files afterwards,
that's taken care of by the meta data download. That one will provide
the infrastructure where the files are downloaded at. Also prevent the
meta job from removing the files once they are fetched in case of a
cancel event (which does not entirely mean we are going to shutdown).
Change-Id: I66eeff30ef4cabb485dd4f300b2917deb...
Be more descriptive while downloading the actual component.Task-number: QTIFW-438
Change-Id: I309c69cf8a7460d17d76a54fee724e10ab0c9347
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Niels Weber <niels.weber@digia.com>
Use qobject_cast where appropriate.Change-Id: I433ce0a9521863f02777baff339c7226327f4628
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Niels Weber <niels.weber@digia.com>
Calm down the possibility of a buffer overflow.Still the maximum values do not fit exactly into the double,
though way better than the previous overflow while passing a
large qint64 as qint32 into the function. Fixes some progress
issues I've noticed with very large files that I downloaded.
Change-Id: I7c9ea1fbd8cdd454c3ffd5f952dd0118fdf11c28
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Niels Weber <niels.weber@digia.com>
Click the "Next" button once we acknowledge to quit the installer.Task-number: QTIFW-473
Change-Id: Id7c98cec965b786b2ec9df6f46bfef1ddca02fca
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Fix banner image not working in dynamic pages.Task-number: QTIFW-471
Change-Id: I3f4df0a6e008664e14034e55f1d843390ad0ca94
Reviewed-by: Niels Weber <niels.weber@digia.com>
Use non-static remove, same as with exists.Change-Id: I5e7fd0bbdee35daf76caf1fe192a1f57362642ab
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Warn earlier about trying to install to root or home path.Change-Id: Ic5e6e207a140158edc15c09c6cf7af3b36ac1139
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Use QTemporaryFile instead of some homebrew construction.Change-Id: I4bacd7d0f60861e457a13a05bd9218097fb6a364
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Unify access to the supported schemes.Fixes an issue that https downloaded files where not properly
named and put in the right temporary download directory.
Change-Id: I8a973e8b63cfae2f575d84591a8ebbef53d45a3a
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Remove the fixed font size on License page on LinuxUse the system settings instead like on Windows and Mac.
Stops text from becoming illegible on high dpi displays.
Task-number: QTIFW-437
Change-Id: Ieca4eba2a24d97ffb5b211623ce8883c011d33da
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Add 'Open ReadMe' exampleShows how to add a 'Open ReadMe' checkbox to the final page of the installer.
Change-Id: Ibbf0fb6c4d0422c2df892a3f3e636fc20312e56b
Reviewed-by: Niels Weber <niels.weber@digia.com>
Do not run event loop in installer.execute()The event loop somehow breaks the script interface, e.g. attached
UI files cannot be accessed any more ...
This might let the UI block though.
Task-number: QTIFW-464
Change-Id: Ia53cb355be75241ba343cf3abc6fe42bec5be696
Reviewed-by: Niels Weber <niels.weber@digia.com>
Fix typos in comments and documentationChange-Id: I03d99ae5eb9266195ff9ab1c73b5ebd8e548e6bc
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Silence private header warning.IFW has to be build statically anyway to be of use, so this
warning isn't needed.
Change-Id: I1062a299acc1bf1af83d93f597fe9db15da2bed5
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Add a current date as release date fallback.Change-Id: Ib42ef38b8b47e3a7f0cf3beec1c1c16a7c51cf26
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
doc: Remove '-u http://www.example.com:8080' from the repogen helpThe --updateurl functionality was removed by 17401372c003949a86540c7581e830b980606b73
so removing its usage from the repogen tool help.
Change-Id: Iaf0e7bb65b5f116e5c5e3b921d072db70e8e7236
Reviewed-by: Niels Weber <niels.weber@digia.com>
doc: Discourage use of '-c config' for repogen tool'--config file' was deprecated in 9561e4cd6185b461646d1910e80bc849b677711d
but not reflected in the documentation, so removing the references to it.
Also fixing a typo where the 'repository' parameter was duplicated
repogen.exe ... repository <repository_directory>
leaving only <repository_directory> as follows:
repogen.exe -p <package_directory> <repository_directory>
Change-Id: I547e...
doc: Fix directory structure for 'packages' dirIndent the subdirectories a bit to get a better idea what they
should look like.
Change-Id: I0d4e4e32723e7e00148956123241ed4f818c16f3
Reviewed-by: Niels Weber <niels.weber@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Fix preselection of components from another component Changing the (default) selection of another component per script
was broken. If the select code comes right after the component loaded
it could be that a late loaded component overwrites the set value.
Now we do the preselection after we loaded every script
(also this was the behavior in older versions, maybe got broken
while refactoring in the past).
Change-Id: Id6ec22da68d92c8ec...
config.xml: Discourage use of <Icon><Icon> is deprecated according to the documentation, so better
tell people to use <InstallerApplicationIcon> and/or <InstallerWindowIcon>
instead.
Also moving up the settings to the same position they appear in the documentation.
Change-Id: I8fe468ba9c362f1abbeb69809eb25e2c51204b25
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Reviewed-by: Niels Weber <niels.weber@digia.com>
tutorial: Fix typoUsing backslash on Linux you get the following error:
Error: Config file configconfig.xml not found at the specified location
Change-Id: I0d48df0c7be2d186c83da0740d50c8f7a06215d2
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Update README to reflect building with Qt 5 is supported.Note that in the future only Qt 5 will be supported.
Change-Id: I3ba88fb750eeca7deb6454ec98810d88d164b860
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Fix: Path handling in project filesBecause of cleanPath() converts native separators to '/',
call toNativeSeparators() after cleanPath().
Due to warning message from "if (exists(filePath))" on Windows,
if() around the exists() are removed.
Change-Id: I412fe83f13365c8eec00e119270d07ce7f72297d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Slightly faster version of asynchronous metadata download.Change-Id: I63793529eeebfd3ea0a325cabe79d646015dc3bc
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>