summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Rename main.cpp generated by qt6_am_add_systemui_wrapper in cmake examplesv6.2.26.2.2Dominik Holland2021-12-081-2/+2
| | | | | | | | | | | | | | | This is needed as our doc build will otherwise pick up the generated main.cpp as an important source file for the examples-manifest.xml But because the referenced main.cpp doesn't exist in the source tree QtCreator will complain when opening such an example. Renaming the file to wrapper.cpp fixes it as qdoc doesn't pick that up. Fixes: QTBUG-98797 Change-Id: Id6b20ae7c113b2bb8dd38fb9e4f8c5ddcb44f4f2 Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 6efaf00a1a367314d8a5e2a884dafbfca39cba50) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* CMake: Fix qt6_am_add_systemui_wrapper to work with standalone examplesDominik Holland2021-12-011-1/+6
| | | | | | | | | | We cannot rely on qt_internal_collect_command_environment outside of the module build and need to calculate the paths ourself instead. Change-Id: I201c3d2037ceb40989e555c84d37fb17a42cdc39 Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 2b57fb6082a9861ce504ff5a089a7fd04c7bad0d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix unused member warning on non-Linux platformsRobert Griebl2021-12-011-1/+1
| | | | | | | | Change-Id: I234cfcf0c913a7548a405d8720805a43f32c1101 Fixes: QTBUG-98418 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 1901a9d4685d1e628402566adcd348a71c5739a7) Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Fix glibc compatibility problemRobert Griebl2021-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | glibc 2.32 deprecated sys_siglist: the symbol is not available to link against anymore, but it is available at runtime for apps that have been linked against an older glibc version. Our problem is now that the CI builds release version of the AM against an older glibc, which works for the appman binary itself, but if you want to compile a custom appman executable on a modern, glibc 2.32 based system, you get a "missing symbol" linker error in libQt6AppManCommon.a(unixsignalhandler.cpp.o) Detecting this at runtime would be a nightmare for little gain, so we fall back to using the non-async-signal-safe strsignal() function when initially building against a glibc < 2.32. Change-Id: I1e702c5ee00e2725fe6f76f9ce001c099ec72eea Fixes: AUTOSUITE-1667 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 65ddbe72001cc9e5a49b54d821eafd352c25ee92) Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Fix another unused member warning on non-Wayland buildsRobert Griebl2021-12-011-0/+2
| | | | | | | | Change-Id: I18d1e929452f3f877be9d417e2da662a1115781a Fixes: QTBUG-98795 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit d684c669a5001c8a9551b523aebbefa8bf99ff7c) Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Docs: 6.2 Release reviewNicholas Bennett2021-12-0122-128/+167
| | | | | | | | | | | | | | Removed notes related to minor Qt5 changes. Spelling and grammar correction. Utilized notes and warnings formatting in places for clarity. Updated the name of the online qdocconf file. Used grouping to create the important topics list. Removed qt 5 to qt 5 migration guides from important topics. Task-number: QTBUG-97120 Change-Id: Ide5354e987c5175a08030cf32d78b38bae68e53e Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 59762d2b675059d0ea9afcdf53a1437a8f655c44)
* Update dependencies on '6.2.2' in qt/qtapplicationmanagerQt Submodule Update Bot2021-11-251-3/+3
| | | | | Change-Id: I13b00cdccaa51dd0c0882d1c5edd0400a711002a Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2.2' in qt/qtapplicationmanagerQt Submodule Update Bot2021-11-241-6/+6
| | | | | Change-Id: Ia098faf45c720e6e07017b10e389a9332ecae5f2 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Enable documentation buildJani Heikkinen2021-11-232-1/+9
| | | | | | | | | | And update dependencies at the same time. Dev will get it's own change because of dependency update Pick-to: 6.2 dev Change-Id: I0a7fee7dc7850af17360cbc829204ba45954a712 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Toni Saario <toni.saario@qt.io>
* Update dependencies on '6.2.2' in qt/qtapplicationmanagerQt Submodule Update Bot2021-11-231-2/+2
| | | | | Change-Id: Iac4b4d488cf85fa08abddfa4b43a82066c666956 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2.2' in qt/qtapplicationmanagerQt Submodule Update Bot2021-11-221-3/+3
| | | | | Change-Id: Ieab5216ecc72e3e657554649ebeff6447de5674e Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.2.2' in qt/qtapplicationmanagerQt Submodule Update Bot2021-11-191-3/+3
| | | | | Change-Id: Id62997ea0ef186efdbc73a631445b32f4db1eb84 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add the missing "allowUnsignedPackages" flag to the config parserRobert Griebl2021-11-164-3/+9
| | | | | | | | | | I forgot to add the flag to the YAML parser, when I added this feature back in commit 7ead83968af5676dab0724fbba84cb00bffca750 Change-Id: I8bd3ac7a2d167d5f95f3cbc9ae9e42b3228df675 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit fc467c318982ee9b940589f3c78a9bd4da10e37e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtapplicationmanagerQt Submodule Update Bot2021-11-111-3/+3
| | | | | Change-Id: Iefa2f491cc818d1b60b6f98d254e3c05e9d3f4fb Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Bump version to 6.2.2Jani Heikkinen2021-11-081-1/+1
| | | | Change-Id: I1cda44393c878f96b0c9544b4dd871edb8f495f8
* Doc: Add a Qt-specific include path for the documentation buildTopi Reinio2021-11-051-1/+5
| | | | | | | | | | | The custom documentation target does not currently provide any Qt include paths for QDoc. Add at least one path relative to QT_INSTALL_DOCS. Change-Id: I02926e5186c45bf5726e21e40dd69a86fabc47fe Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 0501bf915038168aa3ceea23f924afc86bf74bdb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Support builds with ConanDominik Holland2021-10-281-0/+60
| | | | | | | | | | | | | | | | | Provide conanfile.py recipe to support building this module with Conan. The conanfile.py recipe inherits the main functionality from base class located in qt-conan-common.git. 'qt-configure-module(.bat)' and cmake is used for the builds. Dependencies (Conan requirements) are defined by the base class implementation which reads those from the 'dependencies.yaml' which is also used by the Coin/CI. Change-Id: I7d3202e75cc3c2168b4b15897a3d9794c209f9bf Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 67cb6dd723bdf6cfadb7eabeee97b67035c3a706) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix broken QtWaylandCompositor dependencyRobert Griebl2021-10-262-3/+4
| | | | | | | Change-Id: Ie6e3af20605135ba40ca4f59ac648d08e7c2f2fa Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit afe24a0d5f17fc267ff81fbd729351b6209c74c0) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix broken qdoc links to qtbaseRobert Griebl2021-10-264-6/+6
| | | | | | | Change-Id: I53347b12684fa591326762dbce1fc5a6b74ea136 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 501e9bf49310a01b2927cf7c55b2deefbf68337a) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtapplicationmanagerDominik Holland2021-10-261-3/+3
| | | | | Change-Id: I901bbe0b464b71f8012dfc7c9e861ac3261fa38e Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* SIGSTKSZ is not a constexpr anymore in glibc 2.34+Robert Griebl2021-10-061-1/+1
| | | | | | | | | https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=85e84fe53699fe9e392edffa993612ce08b2954a;hb=HEAD#l12 Change-Id: I4f2156b5902d2bdd551c4f0f0140651561e56e2d Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 6bb69e422328fee8394df278fbd5076f6552ee1e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Prevent exceptions being thrown through Qt's event loopRobert Griebl2021-09-221-1/+8
| | | | | | | Change-Id: I18b20da2b9245205b5fca1034ae63a0a53dafa5e Reviewed-by: Bernd Weimer <bernd.weimer@qt.io> (cherry picked from commit 621defdf3addaa70b618e177e90ddfab218d26fc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Raise cmake_minimum_required to VERSION 3.16 in examplesRobert Griebl2021-09-2214-14/+14
| | | | | | | | Change-Id: Ib75913d86e42c3fa8c2a6e5347d110836d0e1c50 Task-number: QTBUG-95636 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit dfd3bbebc6deb0d630b43ac21d60a29d05919952) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix immediate application restartBernd Weimer2021-09-204-3/+22
| | | | | | | | | | | | A crashing application in the application-features example caused the entire System UI to crash. This reverts commit 6d7c33ea and part of f7506f7b. Change-Id: Idf9cafb15b5e868b7c665269574474aec8a74bf3 Reviewed-by: Robert Griebl <robert.griebl@qt.io> (cherry picked from commit 9211d30bb6639cf46d8d4aa981751ec11996a214) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Don't call completeCreate on an already created QML objectRobert Griebl2021-09-161-1/+0
| | | | | | | | Change-Id: I2024bdbb3f195ce77b22ac383478dc35371b8b07 Fixes: AUTOSUITE-1655 Reviewed-by: Dominik Holland <dominik.holland@qt.io> (cherry picked from commit 034e808af71c863af3ba0df962c139a10062e7ba) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.2' in qt/qtapplicationmanagerDaniel Smith2021-09-021-3/+3
| | | | | Change-Id: I7b3f869f9e00ae346ccf140fa4b31842771b053a Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
* cmake: Only build autotests if the appman-qml-testrunner is availableDominik Holland2021-08-261-16/+18
| | | | | Change-Id: Iafc2c499cd0f8a8932a62859fed7cc0e91a41389 Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Fix create-test-packages.sh to work without locale binaryDominik Holland2021-08-261-1/+5
| | | | | | | Inside a yocto ptest build the locale binary is not available. Change-Id: I7c6ab124d05ba768133405ba0d5e22399f55b4ec Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Remove the obsolete template-opt files and update the docs accordinglyRobert Griebl2021-08-208-39/+9
| | | | | Change-Id: I60a3b8e6d2caae8d094c46dc6f4471f001c90aee Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
* cmake: fix all remaining qt_feature conditionsRobert Griebl2021-08-204-6/+16
| | | | | Change-Id: I3ea3d7063054f584ef1ada6b32d937afe0d6955b Reviewed-by: Pasi Petäjäjärvi <pasi.petajajarvi@qt.io>
* Clazy: fix srcRobert Griebl2021-08-2044-92/+111
| | | | | Change-Id: I043882780fac7bed5d9dd75424ede46b54caa187 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Clazy: fix testsRobert Griebl2021-08-2011-196/+201
| | | | | | Change-Id: I31b236e2a06d9a5574f1170ba1d7bcf7baaceb8b Reviewed-by: Thomas Senyk <thomas.senyk@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* cmake: fix the --force-{single,multi}-process config optionsRobert Griebl2021-08-201-2/+2
| | | | | Change-Id: I2afeffc419627abd87eacc9f27d7dfa0aa8e79e7 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Enable using FEATURE syntax when configuring modulePasi Petäjäjärvi2021-08-191-1/+3
| | | | | | | | This way we can continue to use the same syntax that in other modules from yocto. Change-Id: I7b6de08379d3f02aed3f9bf3b9d842d3d00d3d7e Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Clazy: fix examplesRobert Griebl2021-08-173-26/+29
| | | | | | | Also replaced qSL/qL1S with the original, non-macro versions. Change-Id: Ied8f4e8ee750ce0f6b7bf7e7800608c2b39c71d1 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Clazy: fix potential crashesRobert Griebl2021-08-173-4/+7
| | | | | | Pick-to: 5.15 Change-Id: Idb99f9d668850486afa49164bbcfe906efd50caf Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* cmake: small fixesRobert Griebl2021-08-172-1/+2
| | | | | Change-Id: I702f93a71a923779236f8788bfd67788abb999e2 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* cmake: Re-implement the qmltypes generation and installationRobert Griebl2021-08-171-6/+37
| | | | | | Change-Id: Ie014d53ea0c5648404f9d990f26ce243336cf5ed Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Wait for running apps to die on update installationsRobert Griebl2021-08-066-17/+90
| | | | | | | | | This was only done for removals, but it is even more important for update installations. Change-Id: I3cfe552908c9e8b1b130d814bac5f2d3265fe845 Pick-to: 5.15 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Make the ApplicationManager and PackageManager connections implicitRobert Griebl2021-08-062-12/+17
| | | | | | | | | This fixes a half-broken unit test, plus it makes the whole setup in main-lib look less complicated. Change-Id: I4b0c21163299db7c73987f4189b505e69004a67b Pick-to: 5.15 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Actually set the Application state to NotRunning on app exitRobert Griebl2021-08-062-2/+2
| | | | | | | | | | The Application::state is coupled to the AbstractRuntime::state, but if we sever this connection too early, the Application::state will stay at ShuttingDown instead of ending in NotRunning. Change-Id: I541a37bc049b987c92ba2a77c3eb2c20ceea7dac Pick-to: 5.15 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* Fix leak on taskRequestingInstallationAcknowledgeRobert Griebl2021-08-062-3/+5
| | | | | | Change-Id: Ic3b3ec4caa982f78e14cf991757277ff59d5e682 Pick-to: 5.15 Reviewed-by: Bernd Weimer <bernd.weimer@qt.io>
* cmake: Re-enable the qmake build system for the examplesRobert Griebl2021-08-028-23/+25
| | | | | | | | | | For this to work, we need to adjust the dependencies. Also fix the copy/install for the qmake features, which were copied to the wrong directory. Change-Id: Ia7168b2efbf5e558c849d7933abd105b496324e4 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Robert Griebl <robert.griebl@qt.io>
* Drop the merged cache if anything doesn't match up with last runRobert Griebl2021-07-274-20/+67
| | | | | | | | | | | This is a followup to 57847079891. Also extended the unit test to prevent regressions. Change-Id: Ibae1b3d1ebfbac7b812bb188ced7be0ed675c8a1 Fixes: AUTOSUITE-1653 Pick-to: 5.15 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Fix the check for duplicate built-in packagesRobert Griebl2021-07-271-2/+3
| | | | | | | | | We only tested against an empty list instead of the list of currently parsed packages. Change-Id: I0d74a87103b82d43ea293c1bc3e314d2693298a3 Pick-to: 5.15 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Fix CI test failure on slow machinesRobert Griebl2021-07-271-1/+0
| | | | | Change-Id: I9f6a40b83c100b86109c89017f1ff978d33e9a2e Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* cmake: Temporary workaround for build failureRobert Griebl2021-07-271-0/+1
| | | | | Change-Id: If99c82c8b631d459d4b20fb27ab22f05d6260095 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Remove the old deprecated ApplicationIPCManager IPC mechanismRobert Griebl2021-07-2743-2538/+93
| | | | | | | | The unit tests that needed an IPC side channel have been updated to use intents instead. Change-Id: Ifbd82728557eadaea08425e9eacf2cbf8a08293e Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Avoid race condition on Intent creation during app startupRobert Griebl2021-07-272-16/+18
| | | | | Change-Id: I159db37d55dea3a85a52117013b24611cbbb8ac4 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
* Inform the user when OpenGL capable Wayland buffers are not availableRobert Griebl2021-07-204-4/+39
| | | | | Change-Id: I51586ee2147f20eac729539041b1b19da2e72859 Reviewed-by: Dominik Holland <dominik.holland@qt.io>