summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Update dependencies on '6.4' in qt/qtapplicationmanagerQt Submodule Update Bot2022-08-181-4/+4
| | | | | Change-Id: Iba55f9d10ad422473cee9109a09631e3002e75dd Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix the internal IntentHandler map getting corrupted on closing appsRobert Griebl2022-08-181-3/+1
| | | | | | | | | | | | | | | | std::remove_if() on a QMap should result in a compile-time error, but it somehow doesn't. Instead the erase(remove_if()) algorithm leaves a corrupted QMap. This is especially noticeable in single-process mode, where the wrong intent handlers are being called after closing any single application, which registered IntentHandlers before. This bug was introduced while fixing clazy warnings. Change-Id: I144c051591ce8564e2653402d12bb926ef32eb76 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 4507e6f17c640d9e044a4b87ea4b84dda3c5b8ad) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerQt Submodule Update Bot2022-08-161-4/+4
| | | | | Change-Id: Iea5783b86097aff9d3bef4e2c33eb5f979955e2a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Work around unused result issue in gccRobert Griebl2022-08-161-2/+3
| | | | | | | | | | This fixes compilation errors even for older versions of glibc. Change-Id: I930010d20cff1dac7340c5897e39a929b3054cbd Fixes: QTBUG-105688 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 5a320132d8bafec56f5d652ec774245bf69c6ea8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add explicit include for std::abort (part 2)Robert Griebl2022-08-163-0/+3
| | | | | | | Change-Id: I4d6bf4d4d29133202c0b7dfd088d09cf2a64d1c0 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 50255bf75103520c288f7ed31d2eddc22bcb18a1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add explicit include for std::abortBernd Weimer2022-08-121-0/+1
| | | | | | | Change-Id: Ia71cf0b596b4e90d38fba0ca5d1c6134e96e721f Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit cb9e3ecefb5908b5a74854afcbb399b3241c1fc6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerv6.4.0-beta3Qt Submodule Update Bot2022-08-111-4/+4
| | | | | Change-Id: I3913c2d82e3501cd814a5a72bf02a28f3acb2062 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerQt Submodule Update Bot2022-08-081-4/+4
| | | | | Change-Id: If7389c0e4e1a69fc0a07e3ae1ba559b9183680f8 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix setting the Material style in the Intents exampleRobert Griebl2022-08-072-2/+2
| | | | | | | Change-Id: Ib4e94bebdd2b2416a9ed6a5fc21e357223ab36fb Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 6448f72561db8d176c938c2a2957dc242ede8a4b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Intents: prevent a crash if a sent request is gc'ed too earlyRobert Griebl2022-08-053-3/+15
| | | | | | | | | | | | Not saving the result of IntentClient.sendIntentRequest could lead to the GC deleting the IntentClientRequest before it was even delivered to the receiver, leaving a dangling pointer. Change-Id: I8972795d166fa46dd736005dd4df33b9a7ea2463 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit bb186192373c6ff796c9084f22d48b02d14886c7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerQt Submodule Update Bot2022-08-021-4/+4
| | | | | Change-Id: I224da1b3fca1c519f81f6fc899d3e41fda68ef86 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerQt Submodule Update Bot2022-07-281-4/+4
| | | | | Change-Id: Idf13c715eae83f1617907cdd6c5cccf1c01bd90a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerQt Submodule Update Bot2022-07-271-4/+4
| | | | | Change-Id: Ifb5fa83210719d68339b69b6d185b148ca3976bc Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerQt Submodule Update Bot2022-07-251-4/+4
| | | | | Change-Id: Idfb7252df766c7498beafb4f7a3e6cc7e74f2e0e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerQt Submodule Update Bot2022-07-191-4/+4
| | | | | Change-Id: Icd5d53ac2aff0c594a9fbab68476c470655c17f6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerQt Submodule Update Bot2022-07-151-4/+4
| | | | | Change-Id: I7c2a217895adb7df1f7ffe96ba2404df704990e6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerQt Submodule Update Bot2022-07-131-4/+4
| | | | | Change-Id: Ic87df9c25ed88f9b078101502c9ef736bad56025 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Avoid rendering fully transparent nodeBernd Weimer2022-07-131-0/+3
| | | | | | | | | | This improves performance in single-process mode, when an ApplicationManagerWindow is fully transparent. Change-Id: I87d35a76c4301b59b513bf19b4de01fb244e028e Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 1b818ba23087fc57a4392a26f72861c9364d0ba8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Mark backgroundColor config option deprecatedBernd Weimer2022-07-131-2/+3
| | | | | | | | | | The background color should be set in the ApplicationManagerWindow type instead. Change-Id: Ib672509252d5b6ca5015ad92a77b3febfa15b253 Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 0a7f643c95f2032bb54c879dc4f160eaa084bd7e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix pipe in signal handler (QNX only)Bernd Weimer2022-07-072-9/+3
| | | | | | | Change-Id: I4a3ce348da32a4a338c39d74d933b9ce49917a80 Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 9ab85248b628848ec37f6a2c6c1d845ebae6f3a5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Some tests cannot be built for AndroidRobert Griebl2022-07-072-3/+5
| | | | | | | Change-Id: Ie97dd699e49119514652ca9d97ba7de80a90a544 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 7713f49ebb04f678a81b0c7cfcacd0880bd2661c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Support QNX (unoffically)Bernd Weimer2022-07-019-13/+1165
| | | | | | | | | | | | | | | | | | Allow to build for QNX and run in single-process mode. There are a few limitations, e.g. filesystem mount monitoring and startup timer are not supported and there's only a rudimentary stack trace in case of a crash, etc. Since Qt Network doesn't provide a HW address and there's currently a cross-compilation issue, the following options need to be passed to configure: -DINPUT_hardware_id=dummyHwId -DQT_FORCE_BUILD_TOOLS=ON Change-Id: Ia58d09d15a781666fe788f21dfe9c7af7a2a74ef Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit ca61a40f49a4dff393a467c318439a66f87650dc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Make tests pass for "no-dbus" buildsBernd Weimer2022-07-013-9/+3
| | | | | | | | | | | Achieved by unconditionally supporting dbus option, like any other option. Also removed start-session-dbus option completely and added parameters to JS functions in intents test. Change-Id: I8057bc23fd0072c997c8a42539ef23a6c7a9e28a Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 093ee2d43eab7e4dfbdd9b41a4f3a3e039049067) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Prevent linking of AppMan modules into user pluginsRobert Griebl2022-06-3030-3/+78
| | | | | | | | | | | | | | | | | | | | | | | | | As the AppMan modules are static libraries, linking any of them into a QML plugin (that later gets loaded into the system-ui) will lead to a bunch of problems: 1) due to symbol duplication and duplicate static data, a lot of singletons may exist twice 2) all static constructors (logging, crash-handling, etc.) are run a second time, overriding any custom configuration that was applied after config parsing. If you are legitimately building a custom appman binary, a custom launcher or a native app using launcher-lib, you need to flag this via compile-time defines now: Either AM_COMPILING_APPMAN or AM_COMPILING_LAUNCHER AM_COMPILING_LAUNCHER is also used for native apps using launcher-lib. Change-Id: I0c1a3fb7e0c7121f92d44c764c2c1eeb720e7041 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit a1c90ed4605b08c39d380d2605d26b684d340c64) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add support for managing multiple instances from appman-controllerRobert Griebl2022-06-3011-40/+141
| | | | | | | | | | | | | Added an optional instance-id, which can be set via command line option or via am-config.yaml in the appman process. appman-controller also gained a new option --instance-id to address the given instance, instead of the default, unnamed one. Change-Id: I582d0ea69ed0697ee9ac7353725f93c50df05e34 Fixes: AUTOSUITE-1678 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 8f4fbe0665f7e83c89364e44711f01c4408ff59f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove pre-5.15 migration guidesRobert Griebl2022-06-302-421/+0
| | | | | | | Change-Id: I52f7f963ea1a10bf4080aa025a49136c1ab1791e Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 49fdff8cda7258faab493e935bf911de4b874371) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Allow compiling against Qt < 6.4Robert Griebl2022-06-301-0/+4
| | | | | | | Change-Id: I6b3203e00c7a7b22b1aa7839bbe94a987bc6fa98 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit b6eca2f33af9b3b1721d367c0fdea60f18cb33d7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerv6.4.0-beta2Qt Submodule Update Bot2022-06-301-4/+4
| | | | | Change-Id: Ie2e44df87cc6a931ff131eeb1b70cf7aee3d0877 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* CMake: Check for .tag file existence before reading itAlexandru Croitor2022-06-281-12/+16
| | | | | | | | | | | And also check for it in PROJECT_SOURCE_DIR rather than CMAKE_SOURCE_DIR, to ensure the repo .tag file is checked even when doing a top-level build. Change-Id: I63b0f5aae0b9111165fef9aeedd5e794db990da9 Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 0b895aa93688926781e30fa5400832396e9c8bef) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerQt Submodule Update Bot2022-06-281-4/+4
| | | | | Change-Id: I6607c581bd2f1ca1d8bbd88a865b86ddcd76d609 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* clang wants C++ attributes before a func declaration nowadaysRobert Griebl2022-06-281-1/+1
| | | | | | | Change-Id: I7a537aa4b21e499ba7ca0a1d46314dce60266bfc Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 3da5d60c0e362504b18f9a567013504c9bdb1464) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerQt Submodule Update Bot2022-06-221-4/+4
| | | | | Change-Id: Ia87f9ec42341e0ffc12f5380b07bbb3575817906 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Use SPDX license identifiersDominik Holland2022-06-15410-14269/+1588
| | | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: I09660e42dea769d720ff30e652485d9861cea965 Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 91d3881b78a3507ac71cca3e460d06765ef76ac1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Make both supported Wayland text-input protocols available for clientsRobert Griebl2022-06-152-3/+13
| | | | | | | | | | | Qt's own protocol is the more stable option, and chosen automatically by QtVirtualKeyboard if it is made available by the compositor. Change-Id: Ic8c65e81acd2e461bf078bec26794019e0aa855c Task-number: QTBUG-103580 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 96e6f35fdb07795d59523bd8f91a2f3d7de21009) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerQt Submodule Update Bot2022-06-141-4/+4
| | | | | Change-Id: Ia8d91eed81b148ba094b3218722b5f2b57ed7152 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerv6.4.0-beta1Qt Submodule Update Bot2022-06-111-4/+4
| | | | | Change-Id: I8ce733a9e54f292b6ca068ad7cc601f297db87e6 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add a new 'ready' property to the PackageManagerRobert Griebl2022-06-105-3/+34
| | | | | | | | | | | If a project is using the new applications/installationDirMountPoint config option which might delay loading the package database, it also needs a signal to tell it when that database is in a consistent state. Change-Id: I4b250f08c6dade2c675c3b742fe663afd992c1bd Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit d7a64b2163a00330ddb8d84eb0ab6c4c8261e0e9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.4' in qt/qtapplicationmanagerQt Submodule Update Bot2022-06-101-4/+4
| | | | | Change-Id: I767dbf2725db9ba3f031c5d77e003900f6780ad9 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* The QQmlDebuggingHelper c'tor is deprecated nowadaysRobert Griebl2022-06-102-6/+2
| | | | | | Change-Id: I83222cb3664d52313376f9fcde12df512d9db005 Pick-to: dev Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Fix accidental double-click detection in autotestRobert Griebl2022-06-101-0/+2
| | | | | | | Change-Id: I1e490d84774d07dfca4d2f5a8296d841fb499365 Pick-to: dev 6.3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Deal with OpenSSL3's changed defaults when parsing PKCS12 certificatesRobert Griebl2022-06-107-12/+63
| | | | | | | | | | | | | | | | OpenSSL3 doesn't like old certificates, but macOS doesn't like the new ones. For the cross-platform signature auto test, we need to enable handling of legacy certificates in OpenSSL3. Also fixed the process to regenerate the test signatures (for when macOS' SecurityFramework may catch up in the future) Change-Id: Ie95ebb0878e4c6c4b96ef45263575bc2135197d0 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 68170feaeefef6aa9764205bbcb10249b6a4a5c1) Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2022-05-311-4/+4
| | | | | Change-Id: I0ef5b1244c3cc2b6f7bb065907b840978c76585b Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix the qmltypes generationRobert Griebl2022-05-317-30/+121
| | | | | | | | | | | | | | | * enums were not exported at all * methods with pointer returns were not flagged correctly * added an option to specify a prototype different from the C++ base class * added an option to specify how many super classes up the generator is considering (used when the exported class is only a implementation of a virtual base class) Change-Id: I377c732362c34796e156067fd79ca0df772315d6 Fixes: QTBUG-103229 Task-number: QTBUG-103266 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Make the Windows build not complain openly about missing WaylandClientRobert Griebl2022-05-301-1/+1
| | | | | Change-Id: Iade01850c709e0b49a1826b5c84211d7efac7bf0 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Make the tests not fail when run from a Wayland based desktopRobert Griebl2022-05-301-3/+3
| | | | | Change-Id: I2140470d624e6ffff0c5757aa03b22a345010f8b Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Use real file names when creating the wrappersRobert Griebl2022-05-301-4/+4
| | | | | | | | | | We can't rely on the targets being set-up the way we expect them, especially when cross-compiling against a tools-only host build. Change-Id: I6f33be8697be9c0fa3734cc64ec171149623b026 Fixes: QTBUG-101508 Pick-to: 6.3 6.2 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Make the DBus adapter generation compatible with Qt versions < 6.4Robert Griebl2022-05-301-1/+6
| | | | | | | | The fix in e14b1081e247503e8f538a862e4e988ddcf22068 made it impossible to compile dev against a Qt version < 6.4 Change-Id: I35eff5a6d1c20c159a5459b50b2c4d140c894bb4 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Exclude configs whose dependencies are excludedToni Saario2022-05-291-0/+8
| | | | | | | | Anything that depends on a config that is excluded should also be excluded. Change-Id: I1db50fff95ea85e7a9629134fde2546a607bac40 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Update dependencies on 'dev' in qt/qtapplicationmanagerQt Submodule Update Bot2022-05-291-4/+4
| | | | | Change-Id: I0564c405bd4343ff5f9b278b2c3063f6b2d51a07 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Make setting window properties less chatty in verbose modeRobert Griebl2022-05-173-5/+5
| | | | | | | | | If you want low-level details, you need enable the am.wayland.debug explicitly, just running --verbose will not enable it anymore Change-Id: Ie209a5c670c3805d3dc96c1a27b67d8dfd8f3b37 Reviewed-by: Dominik Holland <dominik.holland@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>