summaryrefslogtreecommitdiffstats
path: root/examples/webenginequick
Commit message (Collapse)AuthorAgeFilesLines
* Quick Nano Browser: Remove usage of QCommandLineParserKaloyan Chehlarski2024-08-291-13/+11
| | | | | | | | | | | | | This change partially reverts 98bae072c090ee19e2a5a1e85eed712a060d12fc to remove usage of QCommandLineParser. The class does not support WebEngine's way of passing arguments to Chromium using --webEngineArgs, and attempting to do so simply closes the app at startup. Pick-to: 6.5 Change-Id: I7a26637da8771aaa1851bc988118acd074e00997 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit c3a8bb64eab796ae997d7447c596c54f83264265) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Hook up quicknanobrowser to screen capturing APIKaloyan Chehlarski2024-08-221-0/+6
| | | | | | | | | | | | A Qt Quick API was implemented alongside the Widgets one, but it seems the quicknanobrowser example was never updated to make use of it. Change-Id: I8ac996f2237a2673bdbbab85a8174fa166fdd5b1 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 0d9e429b4de070eaac5d5508832f22efdcdf633f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit c407b198b7f8a42ad639d04be5d11cef3e7e6c7b) Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
* Replace urn:dje license identifier with SPDX compatible oneKai Köhne2024-07-081-2/+1
| | | | | | | | | | | | | | We aim for using only valid SPDX expressions in LicenseId fields. But SPDX does not contain a generic 'Public Domain' license, which is why we were going for urn.dje licenses originally. Anyhow, best practice is to use custom LicenseRef- licenses in this case. Task-number: QTBUG-126403 Change-Id: I1d050ae42603168c6a4c9d44eeb7fdd6767af060 Reviewed-by: Lucie Gerard <lucie.gerard@qt.io> (cherry picked from commit 8e22839aa06bed928e37bf9172ee7b31fc2b7ee1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit c6fa99b96028817d657a793e9f0cc8220b778078)
* Fix warning in QuicknanobrowserSzabolcs David2024-04-251-7/+1
| | | | | | | | | | qrc:/WebAuthDialog.qml:115:21: Unable to assign QString to QRectF Change-Id: I88e2f6c3da745d0f8b9663c40ae895cbbdfd8ad9 Reviewed-by: Anu Aliyas <anu.aliyas@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 11e58879960f7f0dce38649642bebf7eb2e24973) Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu>
* Correct license for examples filesLucie Gérard2024-04-233-3/+3
| | | | | | | | | | | | | | Example takes precedence over build system file type. According to QUIP-18 [1], all examples file should be LicenseRef-Qt-Commercial OR BSD-3-Clause [1]: https://contribute.qt-project.org/quips/18 Task-number: QTBUG-121787 Change-Id: I558c6f409a480835d335101577ae633194b0559d Reviewed-by: Kai Köhne <kai.koehne@qt.io> (cherry picked from commit b816bf293dcc3acf39de8df58f2875cc9a361f80) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QWebEngineWebAuthUxRequest: add RegisterEnumClassesUnscoped for QMLMarc Mutz2024-03-041-28/+28
| | | | | | | | | | | | | | | | Adding the scope later is a SiC (Type A, but still) change, so better do it now when we introduce the class. Found in API-review. Amends 605b0b3dcce24ff82c1e7a1ab3db7dace9668b81. Change-Id: I4f399beed4a7a817c3f58e5864ed56b3a223a116 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Anu Aliyas <anu.aliyas@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit c2045137d4fb3e6ae7c02cc6474c5ae92c88fa82) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update QWebEngineWebAuthUxRequest based on 6.7 API review commentAnu Aliyas2024-01-183-38/+38
| | | | | | | | | | | | - Modified WebAuthUXState as enum class - Renamed QWebEngineWebAuthUXRequest as QWebEngineWebAuthUxRequest - Renamed QWebEngineWebAuthPINRequest as QWebEngineWebAuthPinRequest - Replaced all occurrence of UX and PIN with Ux and Pin respectively Change-Id: Iaf0b4c93e0dfa3508a604f7d6562c4401ff800af Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 549ede011a36c947d67419a77bbdd2b8805647d5) Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Modify copyright format in qt_attribution.jsonLucie Gérard2023-11-221-9/+9
| | | | | | | | | Multiline copyright entries are entered via string array. Task-number: QTBUG-111873 Pick-to: 6.5 6.6 Change-Id: I1b90e5333505227db66bc25d3baba8311afda37d Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Add initial internal version pageMichal Klocek2023-08-111-1/+1
| | | | | | | | | | | | | | | | | We kept urls in examples to point to company website. However this site is heavy to load and moreover it changes overtime leaving example screenshots obsolete. Introduce internal qt version web ui page which will be default page for examples and which displays basic information and can work offline. For start show version info and command line options for chrome://qt Pick-to: 6.6 Change-Id: I0271ce6e7b152efe4942a6240b0c74ba382d5fcc Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add NSCameraUsageDescription and NSMicrophoneUsageDescription to plistsMichael Brüning2023-08-112-1/+12
| | | | | | | | | | | | | | | Quick Nano Browser and Simple Browser need this to be able to use the camera and microphone on macOS. Also document the need for signing the applications in the examples documentation. Pick-to: 6.6 Task-number: QTBUG-114939 Change-Id: I7a260a7ec62138fec8f7b4d6c1f2009eee9004d6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Anu Aliyas <anu.aliyas@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Doc: Update example category namesKai Köhne2023-08-102-0/+2
| | | | | | | | | | | | | | | | WebEngine examples are generally added to the new 'Web Technologies' category - only Nano Browser remains also in the 'Application Examples' category. The 2 Qt PDF examples are placed in the 'Graphics & Multimedia' category. This is not ideal, but from the existing categories the arguably best matching one. Pick-to: 6.5 6.6 Task-number: QTBUG-115174 Change-Id: I3824272f62a4940f91041c8694fd2a06929863ed Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Fix compilation issue on MAC OS with -debug-and-release configure optionAnu Aliyas2023-08-011-1/+7
| | | | | | | - Updated the application's path for code signing. Change-Id: I8469d573ba5f952d02734bc75e33b34f0c6e4494 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix geolocation permissions to use new Qt Permissions APIMichael Brüning2023-07-262-1/+46
| | | | | | | | | | | | | | | QtPositioningHelper now uses the Qt Permissions API. Also fixup the examples Simple Browser, Quick Nano Browser and Maps to use the right key on macOS and sign the application as part of the build process Moves the Geopermission auto tests to manual tests for webenginequick and webenginewidgets on macOS. Pick-to: 6.6 Fixes: QTBUG-114939 Change-Id: Id6771889f20c866d2fcdbb477dbbb7da30367043 Reviewed-by: Anu Aliyas <anu.aliyas@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Support FIDO2 user verificationAnu Aliyas2023-07-125-0/+321
| | | | | | | | | | | - Implemented AuthenticatorRequestClientDelegateQt support to handle authenticator requests. - Added FIDO user verification and resident credential support Fixes: QTBUG-90938 Fixes: QTBUG-90941 Change-Id: I6367791e1e9e8aaac27c376408377f838832f426 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add Quick Nano Browser to Application ExamplesKimmo Leppälä2023-06-191-0/+1
| | | | | | Pick-to: 6.5.2 6.5 6.6 Change-Id: Ia6f1950425d078fbcf4b5e212e5cc983544f3397 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Add Windows 10 compatible manifest to examplesMartin Negyokru2023-06-163-0/+29
| | | | | | | | | | | | This manifest is required for User-Agent to report the correct Windows versions. Document Windows App Manifest in platform-notes and mention it in the httpUserAgent documentation. Pick-to: 6.6 Fixes: QTBUG-63021 Change-Id: Ie3896c50a0a912742e8d1a0dc20f3305b343d3f4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix quicknanobrowser tab closingMartin Negyokru2023-06-021-1/+0
| | | | | | | | | | | Calling TabBar.removeItem(Item item) with an integer results in an exception in the qml engine making the tabs not closable. 'removeItem' is called twice on the same item/index. Remove the wrong call. Pick-to: 6.5 Change-Id: Ie46794e219e82b956b615fa5cbb5dfe745598901 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* QuickNanoBrowser: Make FindBar visible in dark modePeter Varga2023-05-171-0/+14
| | | | | | | Pick-to: 6.5 Change-Id: Iec4f3db0a6dad1eb040e44b09bc0b0000714ecdb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Anu Aliyas <anu.aliyas@qt.io>
* QuickNanoBrowser: Switch to Fusion stylePeter Varga2023-05-173-3/+3
| | | | | | | | | | | | | | | Since Qt 6, the default Qt Quick Controls style is native style on Windows and macOS. Since Qt 6.5, there is a warning to not to customize native style: "QML QQuickItem: The current style does not support customization of this control ..." Use non-native Fusion style instead, which appearance still resembles the native style and is customizable. Pick-to: 6.5 Change-Id: Ifadd74a152b739461f2ad7ef1cb9763a2974b492 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge recipe browser, stylesheet browser and markdown editor examplesYigit Akcay2023-04-0531-2993/+1
| | | | | | | | | | This patch merges the qtwebengine examples recipe browser, stylesheet browser and markdown editor into one single example. Pick-to: 6.5 Task-number: QTBUG-108751 Change-Id: I338707d7d3275b03bf2a2d7b65064ac91e562d7f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Replace WebEngineAction example with a snippetMichael Brüning2023-03-3110-286/+1
| | | | | | | | | Also moves the example to the manual tests directory. Task-number: QTBUG-108751 Change-Id: Ie3fa492cfcaf61ee26ed65fa22954bb6a6532d6e Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 23d1131577e1780de0552211a84357bcb1f63de5)
* Move custom touch handles example to manual testsMichal Klocek2023-03-229-222/+0
| | | | | | | | | | | | Move and add missing parts as snippet. Task-number: QTBUG-108751 Change-Id: I25849941700337626ca46e399fdb52264bc4659a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Yigit Akcay <yigit.akcay@qt.io> (cherry picked from commit 55f9fc348278b2aa8985ec9c1e7e092f88f68f83) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Move custom dialogs example to manual testsMichal Klocek2023-03-2243-1887/+0
| | | | | | | | | | | | | This example shows how to use dialogs, however documentation already provides snippets for that added in 3cbe59e29a. The only missing one was tooltip, therefore add missing snippet and move example to manual tests. Task-number: QTBUG-108751 Change-Id: I84eda805455fb0276046ed1089389d605a8af672 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 6bf30525ee49d270dae6a6440bc607513f21237c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Move quick minimal example to manual testsMichal Klocek2023-03-228-165/+0
| | | | | | | | Task-number: QTBUG-108751 Change-Id: I0998c46f051908855e0406e5fc7c0a422dc3eef0 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit ed76eef004dbac15f4740d33d06d2b271bf770d4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Support LTR and RTL text directions in input fieldsSzabolcs David2023-02-151-1/+3
| | | | | | | | | | Implement WebActions to temporarily change text direction directly from context menu - like Chrome does. They only work for the selected input field. Omit the "default" option since it is always grayed out in Chrome. Task-number: QTWB-67 Change-Id: I4bacbd82c6bd7261ac465eec9da3776613f98074 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QuickNanoBrowser: Add feature permission request handlingPeter Varga2023-02-022-6/+98
| | | | | | | Pick-to: 6.5 Change-Id: Ia0d8bffa419174234e78e1359871e0dfa36b1636 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QuickNanoBrowser: Remove usage of Quota Permission Request APIPeter Varga2023-02-021-7/+0
| | | | | | | | | This amends commit 8fd7140082e3a752ca80882a29128ffc12d12fa4 Pick-to: 6.5 Task-number: QTBUG-56354 Change-Id: I82803cf9bfab1ed5a07494ecce86722b634c204c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QuickNanoBrowser: Remove deprecated Qt.labs.settingsPeter Varga2023-02-021-1/+1
| | | | | | | | | | | | Fixes deprecation warning: qrc:/BrowserWindow.qml:35:5: QML Settings: The Settings type from Qt.labs.settings is deprecated and will be removed in a future release. Please use the one from QtCore instead. Pick-to: 6.4 6.5 Change-Id: Ie027b243a312f148f72adfd6e68ce0f8d6e6d62c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix navigation error for incomplete URLs in webenginequick examplesMartin Negyokru2023-02-0112-3/+73
| | | | | | | | | Use QUrl::fromUserInput in lifecycle and webengineaction examples. Task-number: QTBUG-96010 Pick-to: 6.5 Change-Id: I69cbcb1db31b0766d05f751b4aede11092d078d5 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Suppress the QTP0001 policy warningAmir Masoud Abdol2023-01-271-0/+1
| | | | | | Pick-to: 6.5 Change-Id: If10e6c259d73dd1e09c4ddac0b297b856fb13502 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Disable WebEngineContext dump by defaultPeter Varga2023-01-191-0/+2
| | | | | | | | | | | | | Keep it enabled for simplebrowser and quicknanobrowser examples. Also add documentation how to enable it. [ChangeLog][WebEngineCore] Disabled WebEngineContext dump by default. Fixes: QTBUG-109040 Pick-to: 6.5 Change-Id: I4bd3c0e9eb532771f9b455863324e9dacaae884a Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Fix quicknanobrowser's popup windowMartin Negyokru2022-12-091-1/+1
| | | | | | | | | | Remove Qt.WindowStaysOnTopHint flag from nanobrowser's BrowserDialog. It makes the window immovable. Pick-to: 6.4 Fixes: QTBUG-106816 Change-Id: I21538d78360de0a422eec02ce89a465bcc306a8b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Mention WebSockets in docsSzabolcs David2022-11-031-0/+2
| | | | | | | | | | | | | | | | QtWebChannel has an example for a use case of HTML web sockets and connectivity of the native side of application. We don't need to create a new example of our own by mentioning this. However, the chat client application uses JS libraries served from remote, so we have to enable LocalContentCanAccessRemoteUrls setting to make it work out of the box in WebEngine example browsers. Desktop Chrome works the same way by default. Task-number: QTBUG-106505 Change-Id: I9020d0a09a88de16d32af063aee5d55c9837f484 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Polish the nano browser exampleFriedemann Kleint2022-09-0810-30/+54
| | | | | | | | | | | - Use QCommandLineParser - Fix the organization name - Use modern QML type registration (Utils as a singleton) instead of context properties Pick-to: 6.4 6.3 6.2 Change-Id: Ibbe93dffd685ddd2e5f2d01852e006c4c47d9713 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-268-8/+8
| | | | | | Task-number: QTBUG-105718 Change-Id: I2ad190e5536cdbdc8d2656e61892545d66911a02 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-078-0/+24
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I118bd63694cfe2c9a413af4a38828a31727f8e86 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-2255-2534/+110
| | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I869ffda1080e283f231eb0dc4477b260f2054d99 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Examples: Use REQUIRED COMPONENTS where possibleKai Köhne2022-05-231-1/+1
| | | | | | | | | This will result in a better error message if the components are not available. Pick-to: 6.3 Change-Id: Ib691643a9562981863eab5c27ce436814858e2e9 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Quick: Add support for replacing touch handles with delegatesBalazs Egedi2022-05-049-0/+337
| | | | | | Task-number: QTBUG-85043 Change-Id: I1c87aff352e07eb309d5ba8747b9e50a191d478e Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* CustomDialogs: Make custom input fields readable in dark modePeter Varga2022-03-292-0/+22
| | | | | | | | Also set hidden characters for custom password field. Pick-to: 6.3 6.2 5.15 Change-Id: I8512a6a4215035e21a66aa5564aeb3ba886a900b Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* CustomDialogs: Make dialog titles and messages visiblePeter Varga2022-03-294-1/+5
| | | | | | Pick-to: 6.2 6.3 Change-Id: Ibb41eb1a536b49cfb40ba037a56d55b11fd6e618 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Improve examples CMakeLists.txtKai Köhne2022-02-256-58/+45
| | | | | | | | | | | | | | | | | - Remove "# generated from xyz.pro" comment from pro2cmake - Remove automatic use of CMAKE_AUTORCC - Only opt into CMAKE_AUTOUIC if .ui files are involved - Remove explicit setting of CMAKE_INCLUDE_CURRENT_DIR - Combine multiple find_package(Qt6 ... calls) - use REQUIRED COMPONENTS - sort components alphabetically - Fix wrong indentations - Use (only) one empty line after multi-line commands Pick-to: 6.3 Change-Id: I09083474432ce171e8ee1e28120b062f2ef3c052 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Switch examples to build as isolated sub-buildsAlexandru Croitor2021-12-151-6/+6
| | | | | | | Pick-to: 6.2 6.3 Task-number: QTBUG-90820 Change-Id: I8539fee3ea7311acf9ee4e736fb19e6ff595fcae Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Remove OTHER_FILES from quicknanobrowserMichal Klocek2021-12-021-7/+0
| | | | | | | | | Refereed resources are already referenced by qrc file. Fixes: QTBUG-71277 Pick-to: 6.2 Change-Id: Ibaad55aba529c87b8c8dba46bd3b1a3d7a819960 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add .qmproject file for examples containing .ui.qml filesThomas Hartmann2021-11-162-1/+46
| | | | | | | | | | If an example contains ui.qml it should also have a .qmlproject file for Qt Design Studio. The id 'item' is not allowed in ui.qml files. Pick-to: 6.2 Change-Id: Ib01d22b361c00f67062f97af52489e9704aaf927 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Doc: Remove broken homepage link from markdowncss attributionLuca Di Sera2021-11-082-2/+1
| | | | | | | | | | | | | | | | | | | | | | QtWebEngine uses Keving Burke's markdowncss for two of his examples. An attribution file is provided for both uses, pointing to the homepage of markdowncss "https://kevinburke.bitbucket.io/markdowncss/". Nonetheless, the project is currently unmaintained and the homepage doesn't exist anymore, meaning that the link to it is broken. As there is not a reachable homepage anymore, the "Homepage" key for markdowncss attributions was removed from the attribution files. A link to the same page was changed to the link to the bitbucket repository, which is still reachable, in the documentation for the affected examples. Task-number: QTBUG-96127 Pick-to: 6.2 Change-Id: Idd6c163eebeb2a2292ae76a73289fda5faa12b0a Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Minor. Cleanup qt6_add_resources usageMichal Klocek2021-10-286-7/+7
| | | | | | | | We should not use qt6 prefixed functions in examples. Pick-to: 6.2 Change-Id: Ibf2618ef4f64b560decb219527d619aad680f216 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Add onTouchSelectionMenuRequested QML handlerBalazs Egedi2021-10-266-1/+162
| | | | | | Task-number: QTBUG-85043 Change-Id: Iecd2f5ae20fcf031937a1d44cc154f2e2a3ff52f Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Doc: Fix broken attributions to the Public DomainLuca Di Sera2021-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | The attributions generated trough `qtattributionscanner` support generating links to SPDX licenses. Four such attributions used a `LicenseId` of `DocumentRef-PublicDomain`, which is a non-existent license. Indeed, the SPDX project seems to shy away from making a single license representing all Public Domain attributions, preferring to make a database entry for each Public Domain attribution. To avoid the broken link, such attributions were modified to use a dejacode LicenseId, which has a catch-all Public Domain entry, as suggested by Kai Köhne. Task-number: QTBUG-96127 Pick-to: 6.2 Change-Id: I88e0048c08d6099521e44e74ad7f0e8b3d77b907 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Do not require widgets for quick examplesMichal Klocek2021-09-273-17/+2
| | | | | | | | | | | We needed widgets to get qqc1 styling, since we now use only qqc2 drop that requirement. Fixes: QTBUG-96771 Task-number: QTBUG-95367 Pick-to: 6.2 Change-Id: I7338cd04885069169fef1c4bca17e0777b11de8c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>