summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on '6.5.0' in qt/qtapplicationmanagerv6.5.06.5.0Qt Submodule Update Bot2023-03-281-3/+3
| | | | | Change-Id: I174b0266eada55d9e9fc748176846fa265cf269e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5.0' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-261-4/+4
| | | | | Change-Id: I01fc0976c8d107d9d74e021bc5d6a608caa6516f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5.0' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-251-4/+4
| | | | | Change-Id: I0c9dcb815fea67d50b491530ef3b05aadf840d8d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5.0' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-221-4/+4
| | | | | Change-Id: Ic8b95f4c6a2c1837e18f0aab917a6cf89d063134 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5.0' in qt/qtapplicationmanagerv6.5.0-rc1Qt Submodule Update Bot2023-03-141-4/+4
| | | | | Change-Id: Ic330099ca8f19c078380194631b666f2cb1860a2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5.0' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-131-4/+4
| | | | | Change-Id: Id92d165d6632237cabf6cd6134cabf34f2c282a4 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5.0' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-111-4/+4
| | | | | Change-Id: Ibb4aaac2b528005afaee389faadfc950384ccdc9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix configuration version conflict between the Qt 5 and Qt 6 AMRobert Griebl2023-03-101-1/+1
| | | | | | | | | | | | | | | The configuration caches are versioned, but the Qt 5 and 6 versions got their cache version numbers bumped independently. This led to a situation where 5.15.12 and 6.4.2 both ended up at version '9', although they are binary incompatible. The fix here is to encode the major Qt version into the cache header as well, to make caches incompatible between Qt major versions. Change-Id: I7bbf7cb97cc1ea8bc4f16285588958ba11c19833 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit 5fe99d4113d460b0039130d5333bd8201452c03b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5.0' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-081-4/+4
| | | | | Change-Id: Ia5c3a86ec131cf92dbdce4de80f4265e5257f5f3 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5.0' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-041-4/+4
| | | | | Change-Id: I550e9f8710548d49d1d771812d17b545c59b3c9e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* appman-controller: detect broken D-Bus connections and quit with errorRobert Griebl2023-03-031-39/+107
| | | | | | | | | | | | | | | | | | | | | In case the AM crashed or the bus died during an install-package command, the appman-controller would have waited for a taskFail / taskFinished signal infinitely. We now detect a D-Bus service owner change (the AM crashed) and a disconnected D-Bus (the bus died). Even though the D-Bus daemon dying sounds unlikely, it is the norm when running the AM with --dbus=auto (the default). If the AM crashes (or gets terminated by an IDE), the private dbus-daemon just quits. This makes the controller much more suitable for scripting. Also fixed a bunch of clang/clazy warnings in this file. Change-Id: I01a3772fd8773d707984a07d38cbce1d7ab36c94 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit ff5f0d9c4d14042eb020a8ba5cb9ee7e51195a65) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix D-Bus registration error handlingRobert Griebl2023-03-031-17/+12
| | | | | | | | | | | | | | The inner try/catch block is a merge artifact and is actually hampering correct error handling, as the exit(2) call is a no-op before the event loop is started. We really want all exceptions that are supposed to stop the startup process to bubble up into setup(). Change-Id: Ic8f056346bfe927d89a21be740a9676f579cfdaa Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit 965dc087c8c79e2a2c1b9e415009ef442b46cdd6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-03-011-4/+4
| | | | | Change-Id: If11a847e3c05b94e7008a8806846a933a6c08030 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix intents example deploymentRobert Griebl2023-02-281-0/+1
| | | | | | | Change-Id: Ie464c7911a44c1a02c4c2942e40cbee0a2797c42 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit b0434bf806532195af125e137eae7df9e3ce3742) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add links to the QtCreator manual regarding (remote) debuggingRobert Griebl2023-02-281-0/+9
| | | | | | | | Change-Id: I0106f9186e5e29df6a992af101480886e4501445 Reviewed-by: Dominik Holland <dominik.holland@qt.io> Reviewed-by: Tuomas Vaarala <tuomas.vaarala@qt.io> (cherry picked from commit 4da0ea3b84c7a1cdbbae2d8ccccfa05686529de9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-02-271-4/+4
| | | | | Change-Id: Idfc3b00a2b8901dc09b826455ef232d1dd30031a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump minimal Qt version to 6.5.0Robert Griebl2023-02-222-1/+7
| | | | | | | Change-Id: I69b90893833623dd605cdaa6e94f4353b72d3269 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit c043749a7ecfb6498225b2178fba08d9c7735142) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update libarchive 3rd-party code from 3.6.1 to 3.6.2Robert Griebl2023-02-2214-22/+80
| | | | | | | Change-Id: I4b40a2f820e52bdfa8c4165b7a10b25d7e941e17 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 6f0eed2f383fdac97e33e01f67fba90260426353) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerv6.5.0-beta3Qt Submodule Update Bot2023-02-171-4/+4
| | | | | Change-Id: I7ed9f59304ccc50c708bf74c78c4ddb2f558c3d8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Allow the registration of custom runtimes without patchingRobert Griebl2023-02-169-8/+39
| | | | | | | | | | | The new configuration key runtimes.registerCustomIds will now allow a configuration based registration of custom runtimes. Change-Id: Id94ab614a8460e4d941b97d8ed008f75b3d88d27 Task-number: QTBUG-107886 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit fd900784f41711c500369e1c39e46c73e95878cb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Cleanup the D-Bus interfacesRobert Griebl2023-02-1515-69/+148
| | | | | | | | | | | - most of the newer PackageManager signals were not exposed at all - some properties were not exposed consistently or used the wrong type - clarified the D-Bus policy settings in regards to properties Change-Id: I6875c0a0613a0a63af2386d311a1a6c7c0031b7b Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 4a14abf206c548b80f2942c4d42e23b0e97ddeb1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Re-enable dbus xml generation from sourceRobert Griebl2023-02-154-10/+36
| | | | | | | | | | | | Somehow qdbuscpp2xml is unable to cope with QT_PREPEND_NAMESPACE_AM in Qt6, so we need to detect it and work around the issue. Long-term the tool needs a Q_DBUSCPP2XML_RUN define, to make the identification of this pre-compiler more robust. Change-Id: I88fd50669e7e5c9942fbc96c02aa452cda5171c8 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 41bb52b0a2b02628247a4afd2513aa52a6da5cf6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix the broken tests after the retirement of qt_parse_all_argumentsAmir Masoud Abdol2023-02-1018-23/+23
| | | | | | | | | | | | As we are now processing the arguments with cmake_parse_arguments(PARSE_ARGV, we don't need to pass the escape characters anymore. Task-number: QTBUG-99238 Change-Id: Ib2c8930b5a747140c0c8b877f994db083ad7bec6 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 7e063bdc97bcc0c2a54564bb07dbe76c94480d53) Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-02-101-4/+4
| | | | | Change-Id: I2385b46433add9b9a80d237ac863cb44761745a3 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix race condition when un-installing running appsRobert Griebl2023-02-071-7/+14
| | | | | | | | | | | | | It is very unlikely, but there is a race condition between the installer thread and the main thread regarding the life time of the Application object that is currently being uninstalled. We have a clear backtrace from a production system pointing to this error, but we cannot reproduce this problem in an unit test. Change-Id: I290582f270455c64e8653813c5e9d47c294f60e1 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 3d36fe9fbdd18f635de8c3f01b3067d37e3014d7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-02-021-4/+4
| | | | | Change-Id: Ia34d8cdbf25b46d3cd80993187f3f985bdd0f5fa Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Handle missing wayland display gracefullyBernd Weimer2023-01-301-0/+5
| | | | | | | | | | | | | When the wayland socket didn't exist, the appman-launcher-qml would terminate with an abort. This could happen for instance inside a container when the socket file was not mapped. This has been mitigated to only show a critical error message in the am.runtime.qml logging category and exit gracefully (with an error return code). Change-Id: Id29d0e79e260726d1ffd9b940eac806b483b8a19 Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 61e91284ade4ba7548e84e6550934aff5bcf1ca2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-01-271-4/+4
| | | | | Change-Id: I1e6eb056f6dc452b016417ceee59b7eecf2580f7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Suppress the QTP0001 policy warningAmir Masoud Abdol2023-01-271-0/+1
| | | | | | | Change-Id: I110a933537413c48c396c83c2471c835006d3a97 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit d56b6983003e4e3aa2585fc7a4d1154404707472) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerv6.5.0-beta2Qt Submodule Update Bot2023-01-231-4/+4
| | | | | Change-Id: I92bed571283bd05e43af1028538e4d620ade9532 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Revert "Temporarily unblock the OpenSuSE build"Robert Griebl2023-01-161-7/+0
| | | | | | | | | | | This reverts commit bed79f6c0a8a0c2c52f474b286b7b2ac20e6cb40. The reverted commit should not have been staged at all. Change-Id: Ied793daf0b4df54ecfbca525af937d856a68bf84 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 4cba6c4c9e8c06d39e525d1f5b30b4f8bd76767d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Temporarily unblock the OpenSuSE buildRobert Griebl2023-01-161-0/+7
| | | | | | | | | | The missing path to the openssl binary needs to be fixed in the OpenSuSE setup template though. Change-Id: I56b5fa67f1d7dc50055574f5873c1d4bae42924a Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit bed79f6c0a8a0c2c52f474b286b7b2ac20e6cb40) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Port from qAsConst to std::as_constMarc Mutz2023-01-1521-55/+55
| | | | | | | | | QT_NO_AS_CONST is now globally enabled in qtbase. Change-Id: Ifc2eab1c902e75f5dbfc38ef9a62b29b5c91bc61 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 1544f245bb22194a22c6eeb75d3b99b82cee15c1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* cmake: do not find_package the packager tool when building the AMRobert Griebl2023-01-153-3/+8
| | | | | | | | | Also fixed a minor cmake warning while at it. Change-Id: Iad3f48df689d6e80e1381443639aeb9f0e27a0e2 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 5685962e60273b80b3b47735d86d665b518b5066) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Try to deal with the non-standard OpenSSL3 setup in Coin VMsRobert Griebl2023-01-156-17/+57
| | | | | | | | | | | | | | | * The system's OpenSSL libs might be different (even 1.x based) than the 3.x libs Qt is built against. * macOS still cannot handle the new default algorithms used by OpenSSL 3 for PKCS#12, so we have to create these using "-legacy". * Also be lenient in the packager and try to use old certificates, if the user specifies them: they might be deployed to a legacy system. Change-Id: Icbcb8e53d6d0d102bb51b28780712adb4e919401 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit b62b9a37b752e153385b3dc9460c4b010b6d3a1a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-01-131-4/+4
| | | | | Change-Id: I6da9834a3548aac6ac76848c6180aa9d8f35ad98 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-01-091-4/+4
| | | | | Change-Id: I0bdb3ab54e5a56899f76e55a3b7d05b90bf05fdd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-01-051-4/+4
| | | | | Change-Id: Ia2d1ba6242e2c4ff1e025885afd681112f1f6a58 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* BLACKLIST: tst_Signature::crossPlatform for RHEL 9Heikki Halmet2023-01-031-0/+3
| | | | | | | | | Task-number: QTBUG-109756 Change-Id: I13ee4ac4acc6ebe59c8748ef4fcd5ea7784d3bdd Reviewed-by: Zoltan Gera <zoltan.gera@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io> (cherry picked from commit f9e335eefba8bffb01ab70c8023f98fdeb2a1ab8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2023-01-021-4/+4
| | | | | Change-Id: Ieb6af53193fcc19994847abcce348a94c235782f Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2022-12-301-4/+4
| | | | | Change-Id: I715c3946123c919cf120875470a7828441968258 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2022-12-291-4/+4
| | | | | Change-Id: I48474d534b88df4845b2526f7af7d01a78423e70 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2022-12-281-4/+4
| | | | | Change-Id: I04ce440ec504a5d1a605539ec74a6e35c2353bfc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2022-12-261-4/+4
| | | | | Change-Id: I20e8013ada0d0311a3145395622b30cefa7b1e37 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2022-12-231-4/+4
| | | | | Change-Id: I0ee714eb02807a55021e988673035d159b797eb6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerv6.5.0-beta1Qt Submodule Update Bot2022-12-161-4/+4
| | | | | Change-Id: I4c7d113d0846c0195d189a41687648ec02cac858 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2022-12-141-6/+3
| | | | | Change-Id: I70d9198b4837107230b0f733a692b0e7fc85db23 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* doc: Use externalpage to link to Qt DLT LoggingDominik Holland2022-12-132-1/+8
| | | | | | | Change-Id: If5806a888e803bc7764d975d9b796c1e8e3084af Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 2f8c996dd8832efc47caf30f53f24cb83b1c8fc5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* coin: Add qtdltlogging as optional dependencyDominik Holland2022-12-131-0/+3
| | | | | | Change-Id: I80a6a7e2aa1c6b5c95d68170e56acf514a0d0723 Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit b91e2fbe617ffe5e932e8422b666b2799c532e16)
* Update dependencies on '6.5' in qt/qtapplicationmanagerQt Submodule Update Bot2022-12-131-4/+4
| | | | | Change-Id: Ibc1f6e1649cf6b7bd1a4335e3235e521b5dc1323 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>