summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Replace WebEngineAction example with a snippetMichael Brüning2023-04-0414-103/+171
| | | | | | | | | | 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) Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix gn<->ninja dependencies for qtpdfMichal Klocek2023-04-041-3/+3
| | | | | | | | | | | | | | | We try to build qtpdf after qtwebengine is done. However "ninja docs" now depends on gn run and should not trigger module compilation. Therefore sync on NinjaReady target so GnReady for QtPdf can run just after gn binary is compiled and does not trigger whole qtwebenigne module build. Task-number: QTBUG-88482 Change-Id: Iaf7f8ec631414c636915d53532bc85e84c5534a5 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 30f934b70f41ead670a66772a020ae77d966d5f5) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Bump version to 6.5.1Jani Heikkinen2023-04-041-1/+1
| | | | | Change-Id: I1b6c4f83f13742b7bdabb5bc7a1991cbe0e5f53a Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-04-031-4/+4
| | | | | Change-Id: I2261f90b3164025274a29653c65284e6fdeb5cd0 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Drop perl dependency for third party opusMichal Klocek2023-03-312-0/+15
| | | | | | | | | | | | Opus needs perl to do some optimizations, in case there is no perl print the warning and drop the perl requirement. Fixes: QTBUG-111958 Change-Id: I63a66e71fdaeae61d5c9dbcfe41f03bfb717bb75 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Rolf Eike Beer <eb@emlix.com> (cherry picked from commit a38a3aee68e796266ef6478d87d133ce1a5102c9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumMichal Klocek2023-03-311-0/+0
| | | | | | | | | | | | | | Pulls in following patches: * e41707d576a Add support for custom gn binary to license generator * 8b8de6420db FIXUP: Jumbo build * 17d1d44b890 [Backport] Security bug 1401571 * 9de0d8a90d9 Fixes for building with GCC-13 * 4d558a69453 Opus needs perl for optimatizations Change-Id: I939daf2c2dcbcd7890bc24de591650f1a4eedd7b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 60d386ba9410f2d64dd816ce28fdaf7f1f7dfa49)
* doc: Provide a screenshot of the PDF Viewer widget example; rename pageShawn Rutledge2023-03-302-4/+2
| | | | | | | | | | | | | | | | | Let's be clear in the title that this is a widget-based example, as opposed to the Qt Quick example in the docs. The screenshot is from macOS 13.2.1. The 6.6 example has more features, so this screenshot looks a bit incomplete compared to that. Task-number: QTBUG-81560 Change-Id: I28b50d608756f10967f1bf5f7ac72ec9a83d9417 Reviewed-by: Matthias Rauter <matthias.rauter@qt.io> Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> (cherry picked from commit 9937cbb4a0f43a799400f4057e8c695f88d1aa9f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Simple browser example: Add helper function to remove key backspaceFriedemann Kleint2023-03-301-15/+16
| | | | | | | | | It otherwise looks like a bit like an oversight or bug. Change-Id: If11fe034fa91022eb70c99b8a916fb35ac86f75d Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 24a11562f89016079f62b51ca5ad40938b74761c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Simple browser example: Fix clazy warningsFriedemann Kleint2023-03-302-17/+13
| | | | | | | | | | - else after return - Use multiarg version of QString::arg(QString) Change-Id: Iceff3ee8877b866b5b9187cd85da54864ab17834 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 3d5ee5e333e4257d2d243ba250b2f45e732cdb1e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add gn target to code attributions generatorMichal Klocek2023-03-292-13/+37
| | | | | | | | | | Use gn_target for code attributions generation. Task-number: QTBUG-88482 Change-Id: I4e5d063dec2347c10eb715a467bdd376e39e60af Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 51fa03ce5936d5461e99cc6b3e9c6ea641c54f40) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Get rid of our sync point managerAllan Sandfeld Jensen2023-03-294-25/+0
| | | | | | | | | | We haven't needed our own since we got rid of the graphics node integration. Change-Id: I20b0fdb440c07e451d0e0152e8012ddf59e159cf Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit a3901dfc1f05e21cacded220188112a15df81f43) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Simple browser example: Use member initializationFriedemann Kleint2023-03-289-25/+16
| | | | | | | | | As a drive-by, make constructors explicit. Change-Id: I5c8e3d8049504afa4aa5a0d7c1a85bb59eb3cd38 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 11e598d7153ec209bb208fafa0dcef9cab7c324b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Simple browser example: Use modern string literalsFriedemann Kleint2023-03-286-19/+31
| | | | | | | Change-Id: I14ed5efed1bf228239f95a8a4addce5d19a9f220 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit de96e684275be9548252f874cbc515b81cd51cd8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update initializationAllan Sandfeld Jensen2023-03-281-1/+5
| | | | | | | | | Add missing calls to match RunBrowser() logic. Change-Id: Ia4a14acb279cc43cc8ab4930f1f5432b03a8cbed Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 7e19bc1897696270cf5469a8a640c545e4976da2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Minor. Fix namespace issues of inputmethods manul testMichal Klocek2023-03-253-1/+8
| | | | | | | Change-Id: Ic0f318aa63cab901b979d76a34e329b2ab8359cf Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit cec2d7602709dae40a172b4adcf1c76bcf258f9c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Use docs target for chromium code attributionsMichal Klocek2023-03-251-1/+1
| | | | | | | | | | | The target docs_WebEngieCore, which in the end calls generate_docs_WebEngineCore, is not a dependency for any other target in generated ninja file. Change-Id: Ic2f1c93fed8fbb1a44e2f99365b15b7ec3e636f2 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit b2f56c87d74324594ec86047c2a039aae9da7293) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-03-251-4/+4
| | | | | Change-Id: I584e7756af9092eaefb4b98c16e7641db37798ec Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Add quotes from removed example to documentationAllan Sandfeld Jensen2023-03-241-0/+14
| | | | | | | | | Task-number: QTBUG-108751 Change-Id: I5560c2104e28cb5ca753f5db3579feabf4723980 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit fb2b93818c7ecd5c025b999b2521801da9f4fbc9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove webui exampleAllan Sandfeld Jensen2023-03-2412-453/+17
| | | | | | | | | | | | Doesn't demonstrate anything complicated, the code isn't even worth quoting as snippets. We could consider introducing a help browser to replace it with more functionality. Task-number: QTBUG-108751 Change-Id: I3b796388796a78d017836a10bee18032b2cd4905 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit e4051de7db7b7f0905770280f9a06e133d453cf7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Move custom touch handles example to manual testsMichal Klocek2023-03-2412-92/+58
| | | | | | | | | | | | 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-2446-338/+36
| | | | | | | | | | | | | 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-2416-117/+86
| | | | | | | | 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>
* Move widgets minimal example to manual testsMichal Klocek2023-03-2413-98/+38
| | | | | | | | | Task-number: QTBUG-108751 Change-Id: I6e237b04d1f6a19f64516cd45aabe4d28099abd5 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 34ebe8be93ab10766d034e5a3943a12c8de3a58e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-03-221-4/+4
| | | | | Change-Id: Ic4e53e37ade848b0a175d38cb35e6a0af7309b89 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QtPdf: Support more schemas when loading documents with qmlMichal Klocek2023-03-211-4/+2
| | | | | | | | | | | This is follow up after efbb12954cf6e58, use same handling as for reloading on password change. Fixes: QTBUG-87275 Change-Id: I1046f57f61346a2cbc03f50ca453209a855ea561 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 33fac9305d4a542b389d0d06ec07f05fd9699db2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix not working password test for QPdfQuickMichal Klocek2023-03-212-8/+4
| | | | | | | | | | | | | In qml url can have different schemas like 'qrc' 'file' 'assets'. Make correct conversion so file can be loaded. Note check isLocalFile() is not true for qrc scheme. Fixes: QTBUG-106072 Change-Id: I4dcc969e4c6d9b3f58ea5d81d20d8e81b55edfde Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit efbb12954cf6e581b6b29bed2fa2bb26e1cfab71)
* Disable android build on windowsMichal Klocek2023-03-211-2/+2
| | | | | | | | | | | | | | Windows android builds are currently not supported as upstream officially only supports android cross compilation on linux. Moreover qt ci requires mingw host build for android builds. Task-number: QTBUG-83459 Task-number: QTBUG-111362 Change-Id: Icfa90d05002ab1af2a6173d965193062d4cd5526 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 42cab4680cf5d344ee99dd5851a66d25fe491d5b) Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Add QtPdf android supportMichal Klocek2023-03-213-6/+20
| | | | | | | | Task-number: QTBUG-83459 Change-Id: I39915206859f031dd78798eeb7b2b49f4f148452 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 4717812788df2927818e671056642b58363d4b89) Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Add TESTDATA to qtpdf tests and fix data urlMichal Klocek2023-03-205-4/+15
| | | | | | | | | | | | Make cmake aware of test data, this will make data deployable on android. Task-number: QTBUG-83459 Change-Id: Id4271f54f8351e955a6ee57c3a36656d69a2a682 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> (cherry picked from commit 404edc4e655701b21bb52835536a0fadf8269ce7) Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Increase timeout in proxy pac testMichal Klocek2023-03-201-1/+1
| | | | | | | | | According to ci this test would succeed in 13000ms on qemu. Fixes: QTBUG-111939 Pick-to: dev Change-Id: I21911920961a885eee38dcd3261e46b497a1c251 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Blacklist mulipageview tests on androidMichal Klocek2023-03-201-0/+9
| | | | | | | | | | | | | | | | | | | Password test does not pass on emulator, the same issue exists already on windows. Navigation uses hardcoded values for event which ends with "Mouse event at 465, 65 occurs outside target window (320x616)" due to smaller screen of android emulator. Blacklist tests for now. Task-number: QTBUG-83459 Task-number: QTBUG-106072 Task-number: QTBUG-111306 Change-Id: Iacc4c7711d58b0ffb6cdda3474b4d59b628ca5f7 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 3a1d4eac6f1c2ce38b66c2a1ca3525ee34e2cf4a) Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-03-201-4/+4
| | | | | Change-Id: Ia5d8a3f39798ae48c06262a09a3b01594b4de33d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* QtPDF multipage example: open the search results tab during searchShawn Rutledge2023-03-201-1/+1
| | | | | | | | | | | It's unfortunate that we need to use a numeric index; but it will be ok as long as we don't rearrange tabs any more. Fixes: QTBUG-106359 Change-Id: I036c45a6de7690e9ed122c74448a89da343f10d5 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 76b01c4aeab77c4ab4e052d31141e010b9a73111) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Use the new \attribution command in licensing documentationTopi Reinio2023-03-192-2/+4
| | | | | | | | | | | | Since Qt 6.5, marking a \page as an attribution page is done with a separate command, \attribution. Update the Chromium licensing template and the Qt WebEngine licensing page to use the new command. Fixes: QTBUG-112007 Change-Id: I1eac67bee72c078782d9334a604002011e1c3c86 Reviewed-by: Luca Di Sera <luca.disera@qt.io> (cherry picked from commit 81939a5cf76981ee67c7d2d7e73388d75475a0f7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Replace Q_OS_WIN guards with BUILDFLAG(IS_WIN)Peter Varga2023-03-161-7/+10
| | | | | | | | | | | | vulkan_implementation_qt.cpp doesn't include any Qt header and Q_OS_WIN remains undefined on Windows. Also include vulkan/vulkan.h for the WIN32 vulkan macros. Change-Id: I66b9f134194526c055309bb72bd3a452e2b9a2b2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 7b11561d8f63d521d4bc0e6fb005182cdfe93f82) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumMichael Brüning2023-03-121-0/+0
| | | | | | | | | | | | | | | Submodule src/3rdparty 0dc29a1e..fdcde546: * Revert "DrawingBuffer: Remove RGB emulation support" * Fixup: "Revert "Remove unused ProduceRGBEmulationGLTexture calls with its usage."" * FIXUP: Workaround debug iterator issues with MSVC Fixes: QTBUG-111585 Fixes: QTBUG-111784 Change-Id: I2493eb6f0defdba6460128e15b1f810398bab3ca Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 8fd4e9fc616c71d84ab578808e89bbb5dd28c836) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Doc: Fix wrong WebEngineCertificateError property nameAndreas Eliasson2023-03-112-3/+3
| | | | | | | | | | The correct property name should be type, not error. Fixes: QTBUG-111574 Change-Id: I276823f5bc664a99153b31e5bba36ae34608a9b9 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 1d60666419773ee91638c5666650a4fb62f22468) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-03-111-4/+4
| | | | | Change-Id: I941d00e60fb719830cc5cbb4a6ded9814c6a9a29 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-03-081-4/+4
| | | | | Change-Id: I5798c5042f19f3d37e9f8411486a5e9e62b2c69d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Fix initialization of QWebEngineDownloadRequest::totalBytes for WidgetsPeter Varga2023-03-076-33/+30
| | | | | | | | | | | | | QQuickWebEngineProfile already initializes totalBytes. Also clean up QWebEngineDownloadRequestPrivate and fix typo in documentation. Fixes: QTBUG-104869 Change-Id: I8c4b79c076ddc63180960e22a9488b45ff6c4402 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 496647f7647571ca3cdf81b10ba418de0f06f34d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update ChromiumMichael Brüning2023-03-041-0/+0
| | | | | | | | | | | Submodule src/3rdparty bdb22d05..0dc29a1e: * Revert "Remove unused ProduceRGBEmulationGLTexture calls with its usage." Fixes: QTBUG-111585 Change-Id: I2dabfbc1f79e4d61ff42273b001808c7237ab8cf Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 28a2cfe4116f7218b33df811b79536c0593ddda6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-03-031-4/+4
| | | | | Change-Id: Ib781e697ffed3fad623f5cbf44b40a671919753d Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-03-021-4/+4
| | | | | Change-Id: I6bb2c8504364056598eb75f19eae4b95e8a33cb7 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Update dependencies on '6.5' in qt/qtwebengineQt Submodule Update Bot2023-03-011-4/+4
| | | | | Change-Id: Idee2dda5e7506758ad4fe3d66fb99e665a276439 Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
* Pass system library paths to cmakeMartin Negyokru2023-03-013-5/+27
| | | | | | | | | | | Generate a new rsp file for each cmake target containing '-L' flags and pass them to cmake. Pick-to: dev Task-number: QTBUG-105053 Task-number: QTBUG-111225 Change-Id: Ib25c009795b776bc5f0f6e07fb89b932ef30b484 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix cross-compilation with system ffmpegMartin Negyokru2023-03-011-1/+1
| | | | | | | | | We were using QT_FEATURE_system_ffmpeg which is not defined. Use QT_FEATURE_webengine_system_ffmpeg instead. Pick-to: dev Change-Id: Ic7b6d4ea91dc8b29f344118c28932fa80a7a8d10 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Update ChromiumMichael Brüning2023-03-011-0/+0
| | | | | | | | | | | | | | | | | | | Submodule src/3rdparty 10e54a07..bdb22d05: * [Backport] CVE-2023-0931: Use after free in Video (2/2) * [Backport] CVE-2023-0931: Use after free in Video (1/2) * [Backport] Security bug 1414224 * [Backport] CVE-2023-0928: Use after free in SwiftShader * [Backport] CVE-2023-0933: Integer overflow in PDF * [Backport] CVE-2023-0932: Use after free in WebRTC * [Backport] CVE-2023-0929: Use after free in Vulkan * [Backport] CVE-2023-0941: Use after free in Prompts * Add checksum to mailbox name in Release build too Task-number: QTBUG-111363 Change-Id: I54ca00ef411d21eb02780f1096117d762472d5d1 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 52728ddf8840c1e786da6fc8d8a8918834d79a32) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add qml filesystem api testsMichal Klocek2023-03-014-0/+200
| | | | | | | | | | | | | | | | | | | There are three functions we use within file systems API, which trigger dialogs: * window.showSaveFilePicker * window.showOpenFilePicker * window.showDirectoryPicker Only first one was tested with widgets, therefore add tests which cover use of api, and also test cover the found issues in previous commits. Note we have separate test to cover file system dialogs coming from <input> html tags in tst_filePicker Change-Id: I4616efa84688ed471fb8c4566e49262bce945638 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 1a291c5579122e520af1a2cec263ebd12dcd2407)
* Fix filesystem request qml namespaceMichal Klocek2023-03-011-1/+9
| | | | | | | | | | Unfortunately in 3494efe5d440 we register request incorrectly which does not work as intended with qml. Fix it and add namespace to qml registry. Change-Id: I6965dd0a9b65021cd9c290aaecef9fb9fd82735a Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit f6c5dea639ee5f84af627df3b127d8133f4c4ac6)
* Fix file url in webengine filesystem requestMichal Klocek2023-03-011-1/+1
| | | | | | | | | We should return filesystem url, not just string converted to url. Change-Id: I883e4dd092396e918115cb609ed040c92a871737 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 576f0ea80537ba257f9fa78dcd3b52e6c9ee7272)