summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update dependencies on '6.7.0' in qt/qtapplicationmanagerv6.7.06.7.0Qt Submodule Update Bot2024-03-221-6/+6
| | | | | Change-Id: I335ad58acef7dd70582bab0c65b63ff54691ca26 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.7.0' in qt/qtapplicationmanagerQt Submodule Update Bot2024-03-211-1/+1
| | | | | Change-Id: I43384bd8286559267dfbbda289c9eef64802b032 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.7.0' in qt/qtapplicationmanagerQt Submodule Update Bot2024-03-201-6/+6
| | | | | Change-Id: If058e9ea92dac1d8626428dabe2eb3d17222a7b5 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.7.0' in qt/qtapplicationmanagerv6.7.0-rc2Qt Submodule Update Bot2024-03-191-6/+6
| | | | | Change-Id: I8fdff8f999162e38d4c9a71df22675c6342e59f0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.7.0' in qt/qtapplicationmanagerQt Submodule Update Bot2024-03-181-6/+6
| | | | | Change-Id: I1dafcf26630548a000b7c14a30f6b520398b8112 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Workaround for missing AF_UNIX support in MingW-32 Yocto toolchainsRobert Griebl2024-03-101-1/+1
| | | | | | | Change-Id: I761446ac169386236b39566bd5103857a218c9aa Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit af205862fe1bcc5f37ea2da3655cca6cebb2f743) Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update dependencies on '6.7.0' in qt/qtapplicationmanagerv6.7.0-rc1Qt Submodule Update Bot2024-03-091-6/+6
| | | | | Change-Id: I28bfa9edbc5f51ae93b83d99e8af277315bd2936 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.7.0' in qt/qtapplicationmanagerQt Submodule Update Bot2024-03-071-6/+6
| | | | | Change-Id: I5f5b18e08904718a19703a86eecb805c447c5f28 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix exception handling after Q*Application::exec()Robert Griebl2024-03-076-40/+51
| | | | | | | | | | | | | | | | Uncaught exceptions thrown after we call exec() are originating from user code and we should not be catching those in our top-level catch handler. This will just print "ERROR: <what()>" without any context and make it look like the error is coming from the AM itself. Instead we need to run the event loop without a try/catch handler, so stray exception from user code go directly to our set_terminate handler in the CrashHandler class, which preserves as much context as possible and prints out a lot more useful meta data for debugging. Change-Id: Icc0432d5a6c5db85de439cafab89d05aa88b5891 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 23b39347af03a40af4d19be9793f0f93a691a78f)
* CMake: Simplify the code-coverage setup againDominik Holland2024-03-071-9/+4
| | | | | | | Change-Id: I036da3a2887d354ac755197d1803744946062a2a Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 55afdb281e642f5a10ac4af88c26bfebc1d1bfdf) Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Fix memory leak due to broken unique_ptr deleterRobert Griebl2024-03-071-1/+1
| | | | | | Change-Id: Ibff2b6f062c829bc40446337412af37103cf8631 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 8657849f1349654311179ab042eb8992622e8c19)
* Add libdbus to 3rdparty for Windows/macOSRobert Griebl2024-03-05142-6/+74215
| | | | | | | | | | | | | | | On startup, we check if a libdbus-1 is provided by the system. If not we try to load our build instead, which will then be picked up by QtDBus later on. This enables us to use appman-controller in the QtCreator integration even on Windows and macOS. Change-Id: Ib832198ffd9c9e08e14d3c35cdcb4dff17f3b656 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit ea49063b02733e3ec8caaf39a610fb70d24d5b0a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtapplicationmanagerQt Submodule Update Bot2024-03-051-6/+6
| | | | | Change-Id: I3bc957d403729e506e36a7d22f82fc65085c7889 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* coverage: use modern gcc commandline optionsRobert Griebl2024-03-051-3/+2
| | | | | | | Change-Id: Ia4965266177d622b8de8d6173912fc690712ee6b Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 9c19aa9a3ae7d1eb60620e912f4c2a26cfb2b5a6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* coverage: fix gcov exclude regression when using Qt developer buildsRobert Griebl2024-03-051-2/+7
| | | | | | | | Change-Id: I35161d75c8e882fbf619252043bbbe1c8e0db9c8 Pick-to: 6.6 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit fae4b94f1ca73c51c65de568d4106f5346a32b0d) Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* tests: stabilize the timing in the processtitle testRobert Griebl2024-03-051-1/+2
| | | | | | | Change-Id: I44abbc1de658a60eab88ee195798f5c24f02b88d Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 3c6e83132c039908456a88b8e7a93d5d5305ae7e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* tests: add a test for the new package-server toolRobert Griebl2024-03-056-4/+306
| | | | | | | | | Also fixes three bugs found in the server with those tests. Change-Id: Ic2ca10cc2ee66d644c97b4b613e59521dfcec7eb Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 96e290e617e20127002ce3e3a5f151d128cc3189) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* tests: cleanupRobert Griebl2024-03-056-28/+5
| | | | | | | Change-Id: I4b2151d4586c1b2fd0e75b901c4aaeed310abbe9 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 607b74cfea26d45285c36314592927e03c9dfeff) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Replace all #pragma once with old-style #ifdef include guardsRobert Griebl2024-03-05138-138/+552
| | | | | | | | | Change-Id: I1805fbccf4d9398fddfe8f4ab977236afc49ca45 Fixes: QTBUG-122951 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit eaf92a7983b481ab6bcd125aff10ff678de1288a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtapplicationmanagerQt Submodule Update Bot2024-03-011-6/+6
| | | | | Change-Id: I0774227911ff9d0af95fa71d7cb2e471e1248f40 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Avoid promoting WrapLibYaml to global in configure.cmakeAlexey Edelev2024-02-291-0/+3
| | | | | | | | Pick-to: 6.6 Change-Id: Ib359259a675689efa82ef42728f3ea7f25c9cc51 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io> (cherry picked from commit 076b2cf8a6fb7ab08c4d10e8aa0112385c293076) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* CMake: Change the cwd to the location of the system-ui-wrapper scriptDominik Holland2024-02-281-0/+2
| | | | | | | | | | | This makes sure the script works correctly wherever it is called from. Change-Id: Ic19ca09890f0ee82a2fa5e3dca81403f2b849eae Fixes: QTBUG-117010 Pick-to: 6.6 6.5 Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit bd5e3774a5fa21ae3329715f1ca392685cd05485) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* coverage: make sure lcov version 2 is availableRobert Griebl2024-02-281-0/+1
| | | | | | | | Change-Id: I0864195736780d0bd91966b366a635235b83b12f Pick-to: 6.6 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 04011fe78554717c81698cafc5fd96a994b793e3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* tests: shorten the qml testrunner tag to make reports more readableRobert Griebl2024-02-281-1/+1
| | | | | | | Change-Id: Ib5a4592b586a94be6f58848c51fc76b7163cdfc3 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 1a4ef7f43f04bdc7e1389c14e27d6f1eb2acf5b3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* doc: document that Window.parent is not supported on AMWs yetRobert Griebl2024-02-281-0/+2
| | | | | | | Change-Id: I7daa6bd08dcc9b03ac37f2a1c8fd34cdf4e4163b Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit d97ceffb2e203889366d10eca264a7f0da9a08ec) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* tests: stabilize flaky tests and add context on failuresRobert Griebl2024-02-283-14/+16
| | | | | | | Change-Id: I2de8d216e875af83cb8a14b3ddcefdd787615634 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit dd95e8a0023ad6d1ee3ac62087ef4ef70d47c64a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtapplicationmanagerQt Submodule Update Bot2024-02-281-6/+6
| | | | | Change-Id: I7995d0adfdc2ec5c19c67b16630d28bc0b3db7fd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix the two weirdly named auto testsRobert Griebl2024-02-2614-7/+7
| | | | | | | | | | | | | | | applicationinstaller -> packagemanager The ApplicationInstaller singleton has been long replaced by PackageManager and that test had been adapted back then. qml/simple -> qml/applicationmanager This was always named incorrectly and is always a source of confusion. Change-Id: Iba25cd9b6b77344b2845a5c1c14cbac6ef489410 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit f67563432b3f9bed59d84006e2b7cff226721326) Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* doc: all QStringLists are documented as list<string> for QML and YAMLRobert Griebl2024-02-264-21/+21
| | | | | | | | | | | | It doesn't make sense to use a different syntax for QML vs. YAML. Also fixed "categories" wrongly being documented as object. Change-Id: Iaa1ed6801908dd852ec1c5226605de67b0345ea8 Pick-to: 6.6 6.5 Fixes: QTBUG-122721 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit fc108e6f8f28dd28935df53a5a95a06717c5c33a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Coverage: make it possible to use any Qt buildRobert Griebl2024-02-262-10/+17
| | | | | | | | | | | | | With these changes, a coverage build is possible: - against a Qt from the installer - against a non-prefixed developer build Qt - when using Coin's stand-alone tests setup Change-Id: I1d9958e2a8cfd1f241a5b6bf5d276751df7957b2 Pick-to: 6.6 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit a1a47122dd3b0729881ecedb3525f09496e20af5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtapplicationmanagerQt Submodule Update Bot2024-02-261-6/+6
| | | | | Change-Id: I24362e2215d5387206e05cd45e9a3c37fd664b9b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* tests: add a test for Architecture detectionRobert Griebl2024-02-2212-46/+134
| | | | | | | | | | | | | | | The test binaries are compressed because you cannot make them as small as possible. Especially macOS enforces the minimum size to be the page size (16KB). The README.md has all the details on how to generate and compress test binaries. Change-Id: I8636772f2f94ac35e8d4fa51b6b76b0c84ad3d7b Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 6ea1e4d528e6ab6ced1674f2d9fe50489d8f2e0c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtapplicationmanagerQt Submodule Update Bot2024-02-211-6/+6
| | | | | Change-Id: I676cf02230ddd0ae6924b6179e556205fcf5d8fe Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* tests: add a test for ApplicationInterface propertiesRobert Griebl2024-02-213-6/+57
| | | | | | | Change-Id: I80a20c62e58dcfabe45054cfc322e1d03dc683ac Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit 7fc260dc4117383b52d3dda3175541b90912e409) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Coverage: adapt to modern lcov/gcov command line optionsRobert Griebl2024-02-211-11/+13
| | | | | | | | Change-Id: Ib525623d20ca58c74c89aa2ab6a569e1a6a7de5a Pick-to: 6.6 6.5 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit ac3988efd622a73a49ca8770d64e19f68bdac90d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Axivion: fix or document most of the reported issuesRobert Griebl2024-02-2139-102/+183
| | | | | | | | Change-Id: I5723096b8db71c216b33e189a2469b3130c19504 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 1b6190534e3de2f9b1bea37bc3803bd061e3a628) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* doc: clarify what the am.qml* logging categories are meant forRobert Griebl2024-02-192-2/+6
| | | | | | | | | Change-Id: I9e54f687e2ae2f01f3cd9e0dc55eb33968710b64 Pick-to: 6.6 6.5 Fixes: QTBUG-122425 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit 1686a0dcb569cf052c43846df015540db285e095) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtapplicationmanagerQt Submodule Update Bot2024-02-191-6/+6
| | | | | Change-Id: I8fe78cfb11b135756ff78cd98273fb160411cd1b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* auto-tests: fix the check for QT_FEATURE_am_installerRobert Griebl2024-02-192-0/+5
| | | | | | Pick-to: 6.6 6.5 Change-Id: Ibd6b38b0feeb96402254cfaed576231b014db94c Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Re-enable console/terminal output on WindowsRobert Griebl2024-02-194-1/+9
| | | | | | | | | | | | This was accidentally disabled due to a bug in the Qt6 porting tool, which didn't take the "config *= console" qmake setting into account. Change-Id: I2d255b03e0ac52255423fc612c5afc411d6d6a17 Pick-to: 6.6 6.5 Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com> Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 95efd2c9e734f8778b62d7bb00af5604aa14ff48) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* doc: fix file quoting in bwrap exampleRobert Griebl2024-02-181-3/+2
| | | | | | | Change-Id: Iec21d4b347d7d5353206fda84737571510678640 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit dcd849c8da8d3f757fe26198c110243eb6f11af8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* auto-tests: Fix controller testRobert Griebl2024-02-181-2/+2
| | | | | | | | | | This (a) adapts to the latests instance-suffix changes and (b) tries to run an dev-build controller binary before using the installed one. Change-Id: Ib77708b948184c154519aa7c73df268b17a65c59 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 445ce0fd349375a88777cfd62f356360c898190c) Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Update dependencies on '6.7' in qt/qtapplicationmanagerQt Submodule Update Bot2024-02-161-6/+6
| | | | | Change-Id: I7e9b9c9d27d78920fd7aef7b3fe4f7b3eb64b621 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.7' in qt/qtapplicationmanagerv6.7.0-beta3Qt Submodule Update Bot2024-02-101-6/+6
| | | | | Change-Id: Icce3907cd19a3207ce1c1512dd32266d813dcd00 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Logging: add a D-Bus specific logging categoryRobert Griebl2024-02-074-8/+10
| | | | | | | Change-Id: I591b838234c791d18f4a7d5bfd4fdd6998dd654d Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit b44ca96b7fbf0f640d9e2858474282b21295a194) Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Fix package installations with absolute package paths on WindowsRobert Griebl2024-02-071-1/+6
| | | | | | | Change-Id: I3b810dfa4ca73c2959f72786e597436409d5e29a Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit 8b7a47afd156f92e723be31c488e60e183441b89) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Use a P2P DBus on non-Linux platforms for the appman-controllerRobert Griebl2024-02-073-69/+177
| | | | | | | | Change-Id: I331a4221ecd92fcf4af67e4fe20546b4abef22bf Reviewed-by: Dominik Holland <dominik.holland@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> (cherry picked from commit 3a999a9ad6f27713d15a2bfac0c53380932b25f9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Examples: make the package-installation cope with external acknowledgeRobert Griebl2024-02-071-2/+16
| | | | | | | | | | | In case of an installation via the Creator integration, installations get automatically acknowledged and we can close the acknowledge dialog in this situation. Change-Id: I6478fdb820a3d675862d971999d4840638f9d1b7 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit 9a8c91ff758add71e4bbe025ab349e01d36c0e09) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* cmake: fix quoting in qt6_am_add_systemui_wrapperRobert Griebl2024-02-072-8/+12
| | | | | | | Change-Id: If8164dbb08bcc7cf7fe56d7e93dd37f32603a03a Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit ced5d95484e71e41b20beb96e28926f0e3fac2dc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Examples: check if the server command is valid in package-installationRobert Griebl2024-02-071-3/+7
| | | | | | | | | | This is only the case, if the example is started via the generated .bat/.sh wrapper. Change-Id: I9f9ea0c54547c5be2a37ad3683755399e053ea1f Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit 4fa3b3c4dffb7b9cb2e6634cc5b78de483c1160e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>