summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* macOS: Flip the switch and make the native back-end the defaultChristian Strømme2024-12-053-6/+11
| | | | | | | | | | | | | | | In practice this have been the case for anyone not installing QtWebEngine and the platform issue that we had, and that required special initialization set-up, hasn't been an issue and that code has been removed from 6.5 and newer (see: 5f15afaaf07586006b1731cadcb061fa23c71aef). With this change we'll use the native back-end by default on macOS. [ChangeLog][macOS] macOS will now use the native WebView backend by default, meaning QtWebEngine is no longer required on macOS. Change-Id: Iebcefddf93432c5184d495d286bdead679e423de Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Clean up unused url() web interfaceMichal Klocek2024-11-0714-57/+3
| | | | | | | | | | | | | All the backends implement url(), however it is never used. The loadingChanged signal delivers url which is used later by qquickwebview. Make it less confusing and remove unused code paths. Note actually loadingChanged should be required interface. Change-Id: If410845a39b09c2ec4e8ffb177d334d807561860 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Fix WebView.loadData* encoding on androidMichal Klocek2024-11-071-7/+6
| | | | | | | | | | | | | | | | | As referenced in android docs: https://developer.android.com/reference/android/webkit/WebView loaded HTML data has to be base64 encoded or use url encoding. To keep things aligned with webengine backend use percent encoding, however "base64" would also give correct result (unfortunately webengine assumes percent encoding). Fixes: QTBUG-129303 Pick-to: 6.8 Change-Id: Ided7ef12324d5b4854240700e5de7183069ad34a Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Fix all tests on android instead of blacklisting themMichal Klocek2024-11-072-14/+8
| | | | | | | | | | | | | | | | | | | | | | | | Fix handling of loadingChanged as this should come from WebViewClient observer. This fixes flaky tests, as they assumed 2 signals coming, but in reality 3 were emitted. In case 3rd did not come in time test would pass. Adjust the title test to match how it works on android. Fix load result logic, as error assumes no load success signal emitted and has to be one of * LoadStartedStatus, * LoadStoppedStatus, * LoadSucceededStatus, * LoadFailedStatus Fixes: QTBUG-102712 Fixes: QTBUG-108752 Pick-to: 6.8 Change-Id: Ie3c729fa854ad1e6270a8276c1f2428af6c2614e Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Fix namespace build on androidMichal Klocek2024-11-072-3/+3
| | | | | | | | | | | | | Deals with: * src/plugins/android/qandroidwebview_p.h:26:1: error: no template named 'JObject'; did you mean 'TestQTNamespace::QtJniTypes::JObject'? * src/plugins/android/qandroidwebview.cpp:313:1: error: reference to 'QtJniMethods' is ambiguous Pick-to: 6.8 Change-Id: I6c90b4c93ffac240708b3bdc6e4b22a3a3b41cfa Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Doc: Enable documentation testing in the CITopi Reinio2024-11-041-0/+3
| | | | | | | | | Include documentation testing steps in coin/module_config.yaml and set the warning limit to zero. Task-number: QTBUG-130559 Change-Id: Iebaa7419d0c3d5ae591ed81d6624fdd0ba870dd9 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Doc: Replace \instantiates with \nativetypePaul Wicking2024-08-202-2/+2
| | | | | | | | | | | Since the implementation of the `\nativetype`-command in QDoc, the `\instantiates`-command is deprecated. Replace the use of the deprecated command in favor of its replacement. Pick-to: 6.8 Task-number: QTBUG-128216 Change-Id: If04145b753caff341fab9c2520434be3bec8180b Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* Add support for NSArray and NSDictionary in Darwin WebView's fromJSValueTor Arne Vestbø2024-08-161-1/+25
| | | | | | | | | | | | | To not have to write NSArray and NSDictionary conversion from scratch we round-trip via JSON. One quirk of this approach is that NSDate is supported as a standalone result object, but not nested in an array or dictionary, as NSJSONSerialization doesn't support that. But at least this brings us some of the way for array and dictionary support. Fixes: QTBUG-70166 Pick-to: 6.8 6.7 6.5 Change-Id: Ied8a261e964c5adbadb503efb0bb7812ef911b83 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Android: make internal Java code for QtAndroidWebView privateAssam Boudjelthia2024-06-171-33/+33
| | | | | | | | | | | This Java code is mainly an internal implementation detail for the Qt for Android plugin, and isn't meant to be public in the first place. Pick-to: 6.8 Task-number: QTBUG-126371 Change-Id: I614ff6841bc0de5ecb0922d6610d7079a3afba1f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Use NO_GENERATE_CPP_EXPORTS explicitlyAlexey Edelev2024-03-251-0/+1
| | | | | | | | | | Use NO_GENERATE_CPP_EXPORTS explicitly for modules that don't need the autogenerated exports header file. Task-number: QTBUG-90492 Change-Id: I1edc1c8bd4fa70dd95058fdbde06ee69c71a3a16 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* windows: Fix freeze when loading Qt Web Engine pluginEskil Abrahamsen Blomfeldt2024-03-043-0/+15
| | | | | | | | | | | | | | | | | | The mechanism which initializes Qt Web Engine via the plugin loader does not work on some graphics drivers on Windows, which do not support initializing graphics in DllMain(). Since Qt Web Engine is always the backend on Windows, this patch makes Qt Web View depend on it directly and calls initialize from QtWebView::initialize() instead on that platform. [ChangeLog][Windows] Fixed a freeze on startup on Windows. As part of the solution for this, the Qt Web View library now depends directly on Qt Web Engine on Windows, instead of indirectly via the plugin library. Fixes: QTBUG-117882 Change-Id: Ia1b3e54145477f645bbb97856bdbbb68b58d2785 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* WebViewQuick: Fix QML moduleUlf Hermann2024-02-021-3/+4
| | | | | | | | | | | | The module depends on QtQuick because WebView is derived from QQuickItem. It should also forward its version to the QtWebEngine dependency (for consistency; it makes no functional difference) and it should not force pointless plugin loading. Pick-to: 6.7 6.6 6.5 Fixes: QTBUG-112346 Change-Id: I57656e1fa064fbe0b57ae9ea9e204770ff709a59 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Doc: Fix typo in WebViewSettings::javaScriptEnabled propertyAndreas Eliasson2023-11-231-1/+1
| | | | | | | Fixes: QTBUG-119356 Pick-to: 6.6 6.5 Change-Id: I934e15d7ef38cb8b01b07de60d10a345b8772024 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Android: use convience wrapper to register nativesVolker Hilsheimer2023-11-161-6/+1
| | | | | Change-Id: Iacea0f1b0376e04a6d43f453f7103e0ee624b43c Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Android: modernize implementationVolker Hilsheimer2023-11-132-160/+124
| | | | | | | | | | | | | | | | | Declare used types, use modern variadic template APIs, and native method declarations to get rid of all hand-crafted signature strings. In the native methods, cast the id (that was previously created via reinterpret_cast from 'this', pointing to the private) back to the private pointer directly, and only maintain a set of privates to make sure that the id we get is still representing an alive private. Remove some dead (commented) code, and simplify JNI_OnLoad. Change-Id: Ie8711e5f072edde5781b33941aee4e37b8213ea2 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Android: make functions static if they don't need the objectVolker Hilsheimer2023-11-133-20/+22
| | | | | | | | | | | | | | | This prevents threading issues when calling object functions in a lambda run on the android main thread, when the QJniObject was instantiated on the Qt main thread. As a drive-by, store the id as a 64bit value on the C++ side. jlong is always a 64bit type, even on 32bit Android systems, so we can't use quintptr without truncating data. Change-Id: I96d983eb9b2e99338768d30f7000ec9e75d3fea6 Reviewed-by: Christian Strømme <christian.stromme@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Document event related limitations of WebViewVolker Hilsheimer2023-11-131-1/+4
| | | | | | | | | We cannot handle events on behalf the native web view. Pick-to: 6.6 6.5 Fixes: QTBUG-69801 Change-Id: I919ae0fcbf0d11ebb1580ee6108fa71abd8c1747 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* CMake: Fix multi-arch iOS builds due to absolute framework pathsAlexandru Croitor2023-11-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | find_library(FWWebKit WebKit) stores the absolute path to the framework of one of the sysroots, into FWWebKit. When building with CMake 3.27 targeting multi-arch iOS, this results in the following flag being passed to the compiler, regardless of the architecture/sysroot: -F/Applications/Xcode14.app/Contents/Developer/Platforms/ iPhoneOS.platform/Developer/SDKs/iPhoneOS16.2.sdk/ System/Library/Frameworks This causes warnings when building qdarwinwebview.mm regarding unsupported webkit features during the x86_64 simulator build. When combined with -Werror, it fails the build. Use qt_internal_find_apple_system_framework() instead of find_library(), to ensure we pass '-framework WebKit' instead of the absolute path to the framework. This avoids warnings and is cross-sysroot compatible. As a drive-by, also fix the lookup of the Foundation framework. It's called Foundation, not FoundationKit. Pick-to: 6.2 6.5 6.6 Task-number: QTBUG-118138 Change-Id: I4379f14d65a37470f08ae8e7f46e00b886eadaf1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Android: don't rely on implicit cast of declared QtJniTypes to jobjectVolker Hilsheimer2023-10-271-1/+1
| | | | | | | | | The operator jobject() should be removed from declared QtJniTypes in qtbase, as it's dangerous. Prepare for that by calling object(), which returns the wrapped jobject as well. Change-Id: I73c52a94f604568f0ba13a4fa32a0856c6cfd1fd Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Include what you need: <QPointer>Marc Mutz2023-10-133-0/+6
| | | | | | | | | | | | | | | | | | | | | | | All these TUs relied on transitive includes of qpointer.h, maybe to a large extent via qevent.h, though, given that qevent.h is more or less the only public QtBase header that includes qpointer.h, something else seems to be at play here. Said qevent.h actually needs QPointer in-name-only, so a forward declaration would suffice. Prepare for qevent.h dropping the include. The algorithm I used was: If the TU mentions 'passiveGrabbers', the name of the QEvent function that returns QPointers, and the TU doesn't have qpointer.h included explicitly, include it. That may produce False Positives, but better safe than sorry. Otherwise, in src/, add an include to all source and header files which mention QPointer. Exception: if foo.h of a foo.cpp already includes it, don't include again. Task-number: QTBUG-117670 Change-Id: I4f4f738e6dc46aec3e5772036cf2c94e6141c535 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Highlight Minibrowser exampleKai Köhne2023-10-101-0/+2
| | | | | | | Task-number: QTBUG-117224 Pick-to: 6.5 6.6 Change-Id: I0b5542005e58eb8b7956b33eedf169284208eb07 Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
* JNI: Explicilty convert QtJniType instances to jobject for variadic argumentsVolker Hilsheimer2023-09-211-1/+1
| | | | | | | | | | | | | | | | | When calling the (old and outdated) variadic argument overloads of callMethod (as opposed to the variadic template overloads), then we cannot pass complex types. That types declared via the Q_DECLARE_JNI_CLASS macro are trivial was an implementation detail that we shouldn't rely on as long as those types are not part of the public API. Cast explicitly to jobject so that we can make those types proper QJniObjects. Updating this code to use the new variadic template overloads is for a follow-up commit. Change-Id: I8bb2706f2cbe198f7fc4091a1f881c1198de4491 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Fix cookie comparison when removing cookiesChristian Strømme2023-06-141-1/+1
| | | | | | | | | Use isEqualToString to actually check the content of the NS strings. Task-number: QTBUG-114495 Pick-to: 6.6 6.5 6.5.2 Change-Id: Iadffee7e9b47286f347731639f094ae5cb748926 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix title updates in the darwin backendChristian Strømme2023-06-141-1/+7
| | | | | | | | | Use KVO the same way we do for the progress Task-number: QTBUG-114495 Pick-to: 6.6 6.5 6.5.2 Change-Id: I8fd9f6adaa1fba052d25e1480836dca61558351c Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Remove unneeded prep step in the Darwin pluginChristian Strømme2023-06-141-7/+0
| | | | | | | | QT_MAC_WANTS_LAYER is on by default on macOS now. Pick-to: 6.6 6.5 Change-Id: I1788e01056a572aaa73293a596dad4068f3f3bfd Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* wasm: Add QWebView supportPiotr Wierciński2023-05-116-2/+412
| | | | | | | | | | | | | Add QWebView support for WebAssembly platform. The underlying implementation is using <iframe> DOM element and is limited by it's API, hence not all features of QWebView can be implemented on wasm platform. The QWebView's behavior on WebAssembly platform may also depend on Cross-Origin policy settings. Fixes: QTBUG-75183 Change-Id: I41bd18d4d66c766858a8a7c71107a21c07b213db Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io>
* Android: Fix for possible thread deadlockBartlomiej Moskal2023-03-031-0/+15
| | | | | | | | | | | | | | | | | | QtAndroidWebViewController constructor blocks a qGuiThread until the WebView is created and configured in UI thread. Such an implementation can easily lead to the deadlock (For example in the case of handling InputConnection - it is exactly the opposite. UI thread is blocked and waits for handling event by qGuiThread). That's why we need to lock AndroidDeadlockProtector before blocking qGuiThread. This implementation resolves potential deadlock using AndroidDeadlockProtector. If protector cannot by locked, qGuiThread will handle events to make it possible. Fixes: QTBUG-82810 Pick-to: 6.5 6.4 6.2 5.15 Change-Id: I71aaea9ceb7c41b818ed533ce41c70b5c0e8d7de Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Adjust Android-related installation directoriesFab Stz2023-01-162-2/+4
| | | | | | | | | | Use the correct plugins directory when generating dependenciencies. Install android jars to INSTALL_DATADIR. Pick-to: 6.5 Task-number: QTBUG-106533 Change-Id: Ifc74a554236d798945dfb21ea65a775e9d752015 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Doc: Add missing documentation for the settings APIChristian Strømme2022-11-241-0/+10
| | | | | | | This was missed when the API was added in be675d3721ff2eba Change-Id: I8c5eeb2233316b6ad850c2f285495c675e18f1d8 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Mark overridesShawn Rutledge2022-11-091-8/+8
| | | | | | | The warnings became fatal. Change-Id: If58580c5554115e55656f5d97a44b48a926d724a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add settings API for QtWebViewChristian Strømme2022-10-2716-5/+778
| | | | | | | | | | | | | Adds API and implementation for changing the settings of the WebView. [ChangeLog][General] Added settings API to make it possible to modify some of the WebView's built-in functionality. Task-number: QTBUG-97487 Task-number: QTBUG-98549 Change-Id: Ia121175ec08c96f56fd2148b02dccbc963fff244 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix assert when WebView is used in combination with QQuickWidgetChristian Strømme2022-10-277-1/+39
| | | | | | | | | | | | | | | Using the WebView with QQuickWidget is not really a use-case the WebView is well suited for, due to the native WebView being an overlay, however it should not crash or trigger an assert, so this change tries to avoid some of the caveats when mixing with QQuickWidget. For example, we cannot under any circumstances call winId() before the window the QQuickWidget lives under, is backed by a platform window. The native WebView is therefore not added before the platform window is created. Pick-to: 6.4 6.2 5.15 Fixes: QTBUG-46084 Change-Id: I815d37cdd0328b3a258ef60294b5ea282f41cfc6 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Port from qAsConst() to std::as_const()Marc Mutz2022-10-061-1/+1
| | | | | | | | | | | | | | We've been requiring C++17 since Qt 6.0, and our qAsConst use finally starts to bother us (QTBUG-99313), so time to port away from it now. Since qAsConst has exactly the same semantics as std::as_const (down to rvalue treatment, constexpr'ness and noexcept'ness), there's really nothing more to it than a global search-and-replace. Task-number: QTBUG-99313 Change-Id: Ib5e494e50a24a7e9af542cc362b15ca1f167106d Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-08-239-9/+9
| | | | | | | Task-number: QTBUG-105718 Change-Id: I824b873d98c922af8a4a290dcd797a2135d1147f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Remove Cpp.ignoretokens from .qdocconfKai Köhne2022-08-221-2/+0
| | | | | | | | qdoc's new clang backend does not use them anymore. Task-number: QTBUG-104903 Change-Id: I7f3624122a7c4b5e07fadfdc507267cd02fca68f Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Add the missing header files to CMake source treeAlexey Edelev2022-08-011-0/+1
| | | | | | Task-number: QTBUG-103196 Change-Id: Ia5a157ae38995081b939a2b49083bf59d526b69a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-079-0/+27
| | | | | | | | | | | | | 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: Iff8b50e402d070ba5fa2562fef50b7d7d3743cb4 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Fix CMake warning about using PUBLIC_LIBRARIES for pluginsChristian Strømme2022-06-174-4/+1
| | | | | | Pick-to: 6.4 6.3 Change-Id: I1832215bb1c0904aa21b511db79803f2d6570324 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-1039-1422/+78
| | | | | | | | | | | 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: I0f719de9e6e1fd4a7c50a247831e5a768e08df14 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add QtQuick dependency to QtWebViewMarco Bubke2022-06-071-0/+2
| | | | | | | | | | QQuickItem is referenced as prototype but there is no dependency declared to QtQuick where it is defined. Pick-to: 6.3 6.2 Change-Id: I5cbf13290d6a1a026c0fe3bb085d39474964d700 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
* Fix crash due to missing native functions for the cookie APIsChristian Strømme2022-05-092-22/+109
| | | | | | | | | | | The cookie API that was added in 317e13cb2d97 missed the registration and implementation for the native java functions needed for notifying when a cookie got added/removed. Fixes: QTBUG-102801 Pick-to: 6.3 Change-Id: I7594f75abba17b6ff1843d5349af085f90aae9b1 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Doc: Revise Qt WebView module landing pageAndreas Eliasson2022-04-061-40/+25
| | | | | | | | | | Use global CMake and qmake snippets and reorganize some of the sections structure. Also, make minor grammar and syntax changes. Task-number: QTBUG-100369 Pick-to: 6.3 6.3.0 Change-Id: Icd8b9555aac957ec60c475fe46f5aebbfe513004 Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Android: Enable local storage by defaultChristian Strømme2022-03-161-0/+5
| | | | | | | | | | Enable local storage by default, same as QtWebEngine and iOS. Fixes: QTBUG-75723 Pick-to: 6.3 6.2 5.15 Change-Id: I42f04e53b5014ef107dec61535f8c102f2d5dd27 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io> Reviewed-by: Tero Alamäki <tero.alamaki@qt.io>
* Make sure all private headers include at least one otherThiago Macieira2022-03-093-1/+3
| | | | | | | | | | See script in qtbase/util/includeprivate for the rules. Since these files are being touched anyway, I also ran the updatecopyright.pl script too. Change-Id: Ib056b47dde3341ef9a52ffff13ef677e471674b6 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Use up-to date LGPL license headerKai Köhne2022-02-1433-363/+462
| | | | | | | | | | | | | Remove usages of outdated LGPL3 header that references LICENSES.LGPLv3 instead of LICENSES.LGPL3. Use BSD instead in the examples, updated LGPL otherwise. Also remove the now unreferenced LICENSE.LGPLv3, LICENSE.GPLv2 files, and instead the newly referenced files instead. Pick-to: 6.2 6.3 Change-Id: I01e1325ee2c7a147e095c08b370b88ded9a8daff Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
* Don't include a qml header in library with no qml usageAlexandru Croitor2022-02-011-1/+0
| | | | | | | | | | | Including the header causes issues when building Qt with Conan which installs each repo into its own install directory. The issue likely doesn't surface with a regular all-in-one install, because the header is found via some indirect means. Pick-to: 6.2 6.3 Change-Id: I5640c1cb9aa34207d619362000c135d8e4e5d1ac Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Add libraries that supposed to be in rpath to PUBLIC_LIBRARIESAlexey Edelev2022-01-191-1/+8
| | | | | | | Fixes: QTBUG-99372 Task-number: QTBUG-86533 Change-Id: I24b3d6a02374972536bac6bb6fc6af6167cc8c6d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Add support functions to manage cookiesAgnieszka Jaworska2021-12-1414-2/+314
| | | | | | | | | Setting and deleting cookies, changes for android, darwin and webengine plugins Pick-to: 6.3 Task-number: QTBUG-96204 Change-Id: I4f79d34384e490b70a1e9f89196dd113733d5fe1 Reviewed-by: Christian Strømme <christian.stromme@qt.io>
* Disconnect signals form base class of qquickviewcontrollerMichal Klocek2021-12-081-3/+7
| | | | | | | | | Prevent calling signals on derived class on destruction form base class. This is not safe and we guard for that now in qtcore. Pick-to: 6.2 Change-Id: I7147023ac2f5a3542403d3aa549588b22db58da5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* QWebViewFactory: second step in porting to QFactoryLoader's CBOR supportThiago Macieira2021-11-041-9/+4
| | | | | | | | | | | This removes the string values for the common keys, in favor of QtPluginMetaDataKeys. It also fixes a bug in comparing an iterator from metaDataObject to pluginMetaData's end. Change-Id: I3eb1bd30e0124f89a052fffd16a6f2d82ad568af Reviewed-by: Lars Knoll <lars.knoll@qt.io>