summaryrefslogtreecommitdiffstats
path: root/examples/webenginequick
Commit message (Collapse)AuthorAgeFilesLines
* Mention WebSockets in docsMichal Klocek2022-11-301-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> (cherry picked from commit d1607c91dff1d02621c64cc93d3c1a246ce4fe9f)
* 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 Change-Id: Ibbe93dffd685ddd2e5f2d01852e006c4c47d9713 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 98bae072c090ee19e2a5a1e85eed712a060d12fc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Use SPDX license identifiersLucie Gérard2022-06-2355-2534/+110
| | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: I869ffda1080e283f231eb0dc4477b260f2054d99 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 9b9d789fcb8f63a8998f1eefe44f2a1c8156c362) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* 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>
* Rename Quick examples' folder from webengine to webenginequickBalazs Egedi2021-09-13116-0/+9530
Fix webengine directory path in project files and comments Pick-to: 6.2 6.2.0 Change-Id: I06ed9ee41111e7135fa9feb152ad2a5eb2262b76 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>