summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Disable kAllowContentInitiatedDataUrlNavigationsAllan Sandfeld Jensen2021-07-231-5/+0
| | | | | | | | | | | | | | | | It is bound to disappear from Chromium sooner or later, and is more secure turned off. [ChangeLog] Page content may no longer navigate to data-urls, if this is needed we recommend using custom-url schemes instead or force old behavior using --enable-features=AllowContentInitiatedDataUrlNavigations, though the feature switch may be removed in any later update. Change-Id: I9398f54bcb49dce90afa049b2a2f4acf6f9810f7 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit b7634f470a7d515957d0c65c1aaef0a54280a2b2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Bump copyrightsAllan Sandfeld Jensen2021-07-2315-15/+15
| | | | | | | Change-Id: I8eb8bfba45abb340816b8c2072cca4486c1f37ab Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 802eb3afed55faf390fc8ed9dd78ff073e366267) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add support for macOS universal buildsAllan Sandfeld Jensen2021-07-232-395/+436
| | | | | | Change-Id: I416036a925167204cf5121108922911bce854352 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 35144cbc3a285029574ea3ef45e4a6790f9607e4)
* Remove IPC message loggingPeter Varga2021-07-2310-62/+3
| | | | | | | | | | Doesn't seem to be useful, chromium community doesn't maintain it anymore. Change-Id: I24071d6319c258f2d88f3bde5c38dd9fddeec9a8 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit b6c57f4eeeca503e643cf8b3ddc1ec70bfe75886) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add QWebEngineNewWindowRequest::openIn(QWebEnginePage *)Allan Sandfeld Jensen2021-07-233-5/+22
| | | | | | | | | Makes for a nicer API Change-Id: I15e72d526e9cf6cf9ca8bd3e24f5dd7e7b2e9fa5 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io> (cherry picked from commit 9285872b0dd4da8c0ba1dd8ef6c6822f85622f4e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Improve toolchain generationAllan Sandfeld Jensen2021-07-222-3/+3
| | | | | | | | | | Set is_clang and calculate v8-host arch for other hosts than x64. Change-Id: I5622839840141ed60328c8bd736e4cada3e0ecee Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 9196f743cec64840c711d00a8e906b480ba1451e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix crash in UI thread after deletion of profile io data on IO threadKirill Burtsev2021-07-221-5/+7
| | | | | | | | | | | | | | Access happen if io data was removed in io thread by posted task earlier than shutdown call. Ammends a5e627160c ==853575==ERROR: AddressSanitizer: heap-use-after-free on address ... READ of size 1 at 0x6120001946c0 thread T0 #0 QtWebEngineCore::ProfileIODataQt::shutdownOnUIThread() profile_io_data_qt.cpp:109:9 #1 QtWebEngineCore::ProfileQt::~ProfileQt() profile_qt.cpp:117:22 Change-Id: Ia5b7710553e80cbb95bde0855093d31a60781c2b Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 95a166e60bf8a23001adc3cdbd90a3b10340b11f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Refactor cmake buildMichal Klocek2021-07-224-244/+45
| | | | | | | | | | Add macros to share common cmake code blocks with QtPdf. Reconsider later to do proper scoping and change those to functions if make sense. Change-Id: I500acdba1415feab373a012dcf9a9ddedf33cfac (cherry picked from commit b3031066d17ef01802a4c9752f87675d6a4a1df5) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* WebEngineNavigationRequest: add accept/reject and deprecate setActionKirill Burtsev2021-07-2110-61/+74
| | | | | | | | | | | | | Match naming with others and use accept/reject methods to handle request. Also, allow to use request object after call scope in QML. [ChangeLog][QWebEngineQuick][WebEngineNavigationRequest] setAction(action) is deprecated in favor of new accept/reject methods Change-Id: I83252370e2e83017008f6951f98b7ecad119e232 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 13254e7950a032ebbeb11b1cf54b850c8326fb30) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove duplicated 'downloadProgress' in favor of separate signalsKirill Burtsev2021-07-212-16/+0
| | | | | | | Change-Id: Ib825d63c89e591e740b206f43c3eadbf32319daa Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit abd050e9806123cbc6288e7d33ed01ceb2921766) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QWebEngineProfile: hide notificationPresenter method back from apiKirill Burtsev2021-07-211-1/+3
| | | | | | | Change-Id: Ic9468cd078502fd5412da2374a2c814366dcf320 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit d79b3b4819bc0986a10b432a3e3f461017d310cc) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove two feature disablementsAllan Sandfeld Jensen2021-07-211-8/+0
| | | | | | | | | Assuming they work now. Change-Id: I98623dbee34cd2749999c43a596decceecd1fd5b Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io> (cherry picked from commit 667326ee45b242d757759cddbf5ce248e389707d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Silence GCC warnings in corePeter Varga2021-07-212-0/+17
| | | | | | | Change-Id: I0aabf0d5baec8ba0a4a127d4c5dccf013d775ea2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit ed462df2882dab990f00c5623d35e5fbd86416c3) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Get rid of Quick's TestSupport APIPeter Varga2021-07-2119-478/+5
| | | | | | | | | | | | - Moved TestInputContext and TestInputEvent APIs to tst_qmltests. - Removed loadVisuallyCommitted and use Item.grabToImage to check if page is rendered. - Removed windowCloseRejected signal and use a hidden callback instead. Change-Id: Ica6e4c6017426e0171d738a6a59afa557c786698 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 9c663f51c63f7661edcc604ce89171b3f037543d) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix assertion in getCurrentKeyboardLayout()Szabolcs David2021-07-211-0/+3
| | | | | | | | | | | | | | FATAL:xkb_keyboard_layout_engine.cc(640)] Keymap file failed to load: hu-us If there are multiple layouts provided (eg. "hu,us") and there is no layout variant, we appended the second layout as a variant (eg. "hu-us"). This happens because strtok() caches the pointer of the next token from its previous call and uses that when processing a null string. Change-Id: Ic1d8bd14f95bda65a9fba82c1df45af306c4445b Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 77c7d56531966ff444ebf9bab52f01da9bb4be21) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Cleanup gni filesMichal Klocek2021-07-214-511/+63
| | | | | | | | | | | | | | We use now BUILD.gn template which we configure from cmake, therefore source and resource gni files are no longer in use and are outdated. Remove them. Remove also qtwebenigne.gni which did not really encapsulate anything. Change-Id: I847d27be24a08ea03da93464d086c0be8b5f8e4b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 8deed53fcd8937b46cabd19eaf14e6176ef5436b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Various clean-ups around QWebEngineViewPeter Varga2021-07-205-40/+40
| | | | | | | Change-Id: I16f27054871f63526946101e07cb0dcf4aa3b390 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit e4bb4b8bc443fa78c0cd4509cc8ec1251e8296ae) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Clean up quick APIPeter Varga2021-07-2026-169/+152
| | | | | | | Change-Id: I9407d407b203b8e2bb13768e5a899624ea47282a Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 6f97b43350f7949029045a37f226dd81e23e25d1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Do not install QtWebEngineProcess twiceKai Köhne2021-07-191-1/+4
| | | | | | | | | | | | Pass NO_INSTALL, so that QtWebEngineProcess is not installed into INSTALL_BINDIR. We have explicit install rules further down below. Fixes: QTBUG-95153 Change-Id: I2dfae1e8a6bb9183d25590b7ba5cdb136252a1e4 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 09e5da6ac44c01ae0de34b789c42da515e82f07c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Merge UI2DelegatesManager into UIDelegatesManagerBalazs Egedi2021-07-194-111/+5
| | | | | | | | | | | Drop Quick Controls 1 support. Task-number: QTBUG-93666 Change-Id: I68580ef4649141d3d1507fd207088794e7764d2a Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 96cc8cc8a93ece10031a6638b68ca9c88050ac13) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix documentation of WebEngineView::backgroundColorSzabolcs David2021-07-141-1/+1
| | | | | | | | | | | Type is color instead of bool. Task-number: QTBUG-86021 Change-Id: I9c083096b545cf56a31174f121d0c245321874ff Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit ba184c5e2530d85ac5554373a4435b20ecdaa87b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove one more redundant function definitionAllan Sandfeld Jensen2021-07-143-17/+8
| | | | | | | Change-Id: I45bb1ab74fd15cae9c84262f3887c2ebbef23c3b Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io> (cherry picked from commit e1c78f2dc37c94873855fdb5f45426ed6e669334) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Update parameters to findText callbackAllan Sandfeld Jensen2021-07-148-23/+23
| | | | | | | | Change-Id: I622ff55c1c9b6f9d4818228c75543c3deffa37be Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 56b1f53d9b2927f5ba2a73f85cee59e385bf489d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix build with printing disabledAllan Sandfeld Jensen2021-07-131-0/+1
| | | | | | | Change-Id: I11d3f61d1c916e6696a1cbf85bb0e0457fe52188 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 96d87ed9fdc1d24febbeabe5d6baceef4c856899) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumAllan Sandfeld Jensen2021-07-131-0/+0
| | | | | | | | | | | Submodule src/3rdparty 4898b1c1..2e775bd8: > Fix compilation error for qemu > Fix enable_extension=false builds Change-Id: Ibf994eccbd24d04b2ee0ada3601de52865b568c4 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 1dc95334a50dbe358c808d8a1d6709778f9321d7) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Adaptations for 90-basedAllan Sandfeld Jensen2021-07-1386-749/+691
| | | | | | Change-Id: I8402b044d8e12d75e144a00984b856f3de10bffd Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 1d988d971bc4270ba3d148e8e2c143bf8f625b6e)
* Update comments on ContextMenuRequest enumsPeter Varga2021-07-121-2/+3
| | | | | | | Change-Id: I3e1b9d0481b36f822c1b119b7f27da05c320064f Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 27be663f3321307aa39a08d2b6723a5b2776791f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Get rid of private methods of QWebEngineNewWindowRequestPeter Varga2021-07-126-48/+100
| | | | | | | Change-Id: I40072b45ceffa1a2c92027a4c01239974b8ac498 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 5be01d2ffd3dbc2b023dd1ffb75d376019ee934e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix Keyboard.getLayoutMap() with cmake buildPeter Varga2021-07-122-8/+8
| | | | | | | | | USE_X11 is disabled but we don't need it due to the USE_XKBCOMMON check. Change-Id: Ief5ed178152da10ceef3d2c3a415647ce6d3aee6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 7b7c4894151f3af05e635031a4626eeb04173bb6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove outdated QT_VERSION_CHECKsAllan Sandfeld Jensen2021-07-099-158/+0
| | | | | | | Change-Id: I4c4b78af0bd7da5912b5e0136f9cfdb3c4268a7e Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io> (cherry picked from commit e62dde53f093dd2c404a65cf99e854081396632b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Get rid of a few redundant method variantsAllan Sandfeld Jensen2021-07-093-39/+6
| | | | | | | | | | Use default arguments to get rid of the old method version without breaking API. Change-Id: I2f71b04bff491567df564c66cd98d0d04bfa0517 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit 41c6eabd3b0c652bb8681f0ff14294a698f76b2e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix Qt include conventions in public headersFriedemann Kleint2021-07-0915-37/+39
| | | | | | | | | Specify the module and use the .h files. Change-Id: I7c2bb1a635d10e25c874f18736120efde6ce2ca4 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 3b363345a3e75eb10827f67b995ae9472a6d0e8e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* QWebEngineQuick: Fix export macrosFriedemann Kleint2021-07-0916-25/+25
| | | | | | | | | Add Quick to the name. Change-Id: I898f946d2dc6b306314330d3d3fbbfc8a3001557 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 94daa599a65e2113d0adaa9afddf8691a02c18bb)
* Clean up includes, forward declarations and friends in core apiPeter Varga2021-07-0820-42/+7
| | | | | | | Change-Id: I58e2dc2443bca75b0d315694c9f6503251a7be02 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 8c30f95f2a9b5de6d638f68bd3ab2bdaac7e1995) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove QQuickWebEngineFormValidationMessageRequestAllan Sandfeld Jensen2021-07-084-164/+0
| | | | | | | | Has been deprecated and non functional for years. Change-Id: I77966c00e2aaa5828bb276e9647b5ba38b99c81a Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io> (cherry picked from commit 283b5e1f8fc3f17bae68c20797053c062cf7a8b9)
* Doc: Fix documentation issues for Qt WebEngineTopi Reinio2021-07-0728-149/+105
| | | | | | | | | | | API and documentation changes since 5.15 caused multiple warnings from QDoc; this change addresses most of them. Some warnings indicate missing documentation, those issues still remain. Change-Id: I96be38b7daac37a7e35c149b4b3ec3f18c4415c9 Reviewed-by: Topi Reiniö <topi.reinio@qt.io> (cherry picked from commit c248844b3b8ee004800606d1a6c6e6d6bee31738) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove deprecated useforglobalcertificateverificationPeter Varga2021-07-0610-171/+0
| | | | | | | | | | | | | It enabled an unrecommended OCSP path on Linux [ChangeLog] (Q)WebEngineSettings::useForGlobalCertificateVerification has been removed. Task-number: QTBUG-91467 Change-Id: I9f5d1ad5e4fcb59abd31e6a133ded7bf8319c811 Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io> (cherry picked from commit 8f7a386a5228428122813ebea1d7489783b00633) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add arm optimization flags to cmake buildMichal Klocek2021-07-072-5/+45
| | | | | | Pick-to: dev Change-Id: Ibab4630fd226f46f58d08c603436dc2c378212ec Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Restore WebEngineNewViewRequest::openIn methodAllan Sandfeld Jensen2021-07-068-21/+174
| | | | | | | | Change-Id: Ib765970d4c57f742a53cd4d2c870b00628d527aa Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Kirill Burtsev <kirill.burtsev@qt.io> (cherry picked from commit ca4ba8beb736efcd95445cc801e2b5a77642a931) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove Quick Controls 1 UIDelegates and introduce UIDelegates testBalazs Egedi2021-07-0631-841/+256
| | | | | | | | | | | | | - Renamed Controls2Delegates to ControlsDelegates - Removed option to use Quick Controls 1 delegates - Added test to check if controls are shown Task-number: QTBUG-93666 Change-Id: Iccca948615309285db7fc57d14fb1cdcdef28051 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 4fe808a8c0ecd143199781e9644a46e4b1b90653) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix build with system ICU libraryKirill Burtsev2021-07-021-23/+10
| | | | | | | Change-Id: Ic4c3a0f2a187d25c92b76e06f9c5764cafc1e5a9 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit fa11a593ee0b263335dbb1d4212bf3c7604f0643) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Cancel favicon requests explicitlyAllan Sandfeld Jensen2021-07-021-0/+1
| | | | | | | | | Better to do it before we invalidate the profile. Change-Id: I2448bc522a973d26cb51aebe2f413bf30ca3edef Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 7433e47ab1c9a2c0b2a0f1bc3a21d3c6ba36b071) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Add cross compilation support to cmake buildsMichal Klocek2021-07-024-45/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add arm cross-compile basic support. CMake does not support host builds. However we do host build with gn and changing that would require an extra effort to keep all necessary changes with Chromium upstream. Therefore let gn to perform the host build for required tools and just feed gn with all the build data. Add new build steps: * install gn into QT_HOST_PATH/libexec. * run hostBuild project to get native architecture and compiler * call PkgConfigHost to pass pkg-config paths to gn * create wrapper script for host pkg-config to escape yocto shell pkg config exports This change also splits gn toolchain into 3 toolchains host,target,v8 Now hostBuild provides host and v8 toolchain in case of cross compile. The build optimizations will follow in another patch. Fix not existing 'boot2qt' condition and enables more test on QEMU. Note this is tested only with yocto based images. Pick-to: dev Task-number: QTBUG-91760 Change-Id: Ic2bea12229acc71fbd36a848e9ed4fed7e14b485 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix enums access in qml for api typesKirill Burtsev2021-07-021-1/+19
| | | | | | | | | | | Add missing namespace qml registration for WebEngineLoadingInfo, CertificateError Change-Id: I154070df3ab685b36d000cdfc064a074d002afc0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 5f39a1098e7e64bf8d9947077d95b69e13f42416) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Remove QRC->file special caseAllan Sandfeld Jensen2021-07-023-22/+1
| | | | | | | | | It was marked as to be removed for Qt6 Change-Id: I059c450aa6e5cad6d48ecdd2667abff21217d7e0 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> (cherry picked from commit 01f45d0b536ac2dad7493c826907ded7a76f59d6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix docs since 6.0 references for new apisKirill Burtsev2021-07-023-6/+6
| | | | | | | Change-Id: I2d9cf4fffda1ad614388844781ac4fece15dde0d Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 57eb73f933e3c1499a969b2023073c3c01bb9a1f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Implement dialogs of File System Access APISzabolcs David2021-07-017-20/+331
| | | | | | | | | | | | | | Dialogs triggered by window.showOpenFilePicker() or window.showDirectoryPicker() needed different implementation than regular file picker dialogs. Since the end-users can't distinguish between HTML file picker dialogs and these file system access dialogs, we can just use the existing file picker WebEngine API and UI delegates. Task-number: QTBUG-92519 Change-Id: Ib1624f80603c4042803303274ba45d864ecb371c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 46a2f0f3137dcb46f2752130bbee6438742c27ac) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Pass compiler wrapper to GNAllan Sandfeld Jensen2021-06-301-0/+3
| | | | | | | Change-Id: I1ce6e9d0e03bb780f85636865e15552ac28876fa Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 1efcf20bcc1d41edb56d4ef491dc9c26b7a98f15) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Fix issues with missing headers for topLevel buildsMichal Klocek2021-06-301-15/+0
| | | | | | | | | | | | | | | Sync script is run by topLevel build during first configure phase. Move sync.profile to module root dir, and run sync script twice during the topLevel builds. This will work since sync script will look up in parent directory for sync.profile for libs external build. Fixes: QTBUG-94343 Fixes: QTBUG-94709 Task-number: QTBUG-94702 Change-Id: Icb80d9248ee4611317ab0fba9aa988f8e5ee8073 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 82769967d385c3037cfe2decb6687abdf23035f9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Enable jumbo-builds for windowsAllan Sandfeld Jensen2021-06-301-7/+2
| | | | | | | Change-Id: I08c702aadce949d3dce6e081476978bb8dcbee32 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit 28d3d74ac32dcd16969a17ab4bb08b11c18c7f4e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>