summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix cancellation of UploadFolder dialogsSzabolcs David2017-06-161-1/+1
| | | | | | | | | | | Remove the extra "/" element from the list of results and pass an empty file list to the backend. Task-number: QTBUG-61186 Change-Id: Ib2c577c15502e8d1506948e9683921ed211b9c48 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix preferences referencesAllan Sandfeld Jensen2017-06-141-10/+10
| | | | | | | | | | We were using the wrong spellcheck preferences, they have moved to the spellcheck component. It mostly worked because their internal names had stayed the same. Change-Id: I485b11d88ee9c6e13d9c2b769c271d27bee4ba30 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Always set a host toolchainAllan Sandfeld Jensen2017-06-121-1/+1
| | | | | | | | | | If we don't give Chromium a host toolchain it will pick one of its own overriding which compiler should be used, and breaking native builds on non-x86 architectuers. Task-number: QTBUG-61128 Change-Id: Ia25a4f43a28214003abcb11dc75a0e57064f76a7 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Doc: Mark globalSettings() obsolete in QWebEngineSettingsLeena Miettinen2017-06-092-26/+14
| | | | | | | | | Replace references to global settings with references to the profile that the page belongs to. Task-number: QTBUG-57349 Change-Id: I19a2bf999608f2d4f7b565ea50bac1cbf9690c46 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Override shortcuts only when an HTML input field has focusJoerg Bornemann2017-06-082-24/+5
| | | | | | | | | | | | | | | | Otherwise an application shortcut like Shift+Delete would no longer work when webengine has focus (e.g. "delete mail" in KMail) This removes unconditional calls to editorActionForKeyEvent for ShortcutOverride event handling. We can remove those, because the key sequences that are checked by editorActionForKeyEvent are a subset of the key sequences checked by isCommonTextEditShortcut. This amends commit 3902b27e. Change-Id: I12a98368381edef36f11457c8b864d843efb871a Reviewed-by: David Faure <david.faure@kdab.com> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Update ChromiumAllan Sandfeld Jensen2017-06-081-0/+0
| | | | | | | | | | | | | | | Changes: 7a81e62 FIXUP: Fix assert on QRC urls 08948cb Add switch option for using OpenGL Core Profile in Chromium c2c63f9 Fix assert triggered by CHROME_IPC_LOGGING e38d326 Fix build with WebRTC disabled 8bb5341 Fix DCHECK with audio-only desktop capture 801c957 [Backport] GN: Add Arm64 Linux support b4b03ce Fix windows builds with plugins disabled Change-Id: I2e2a1b3ac4db138309cc0c16964de948275b4ee8 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Use MSVC's /WHOLEARCHIVE linker flagJoerg Bornemann2017-06-072-11/+1
| | | | | | | | | | The /WHOLEARCHIVE option was introduced in Visual Studio 2015 Update 2. Since we support no older MSVC version we can unconditionally use this option and remove our hack that simulates whole-archive by writing object file names into a linker reponse file. Change-Id: I32d2cb556c15f9a8aa2f77f608268e0af7ab6a1d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Do not enable debug symbols in windows release buildsAllan Sandfeld Jensen2017-06-071-5/+4
| | | | | | | | | | Clean up the logic for cross-building to x86 on x86-64 windows, avoiding enabling debug symbols when force_debug_info is set, remove them 32-bit builds even it _is_ set, and use the standard logic for getting the GN target arch. Change-Id: Ia6a5a5e7429ffb1cf07629deaeebfb2466280a9b Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix WebRTC screen sharing on macOSAlexandru Croitor2017-06-072-1/+32
| | | | | | | | | | | | | | | Previously when a screen sharing request was accepted on macOS, instead of showing the captured screen, a black rectangle was displayed. This was due to passing an incorrect screen id to the screen capturer, which resulted in a failed attempt to find the main active screen. The fix is to query for all available screen ids from the operating system, and choose the first id as the id to pass along to the screen capturer. Task-number: QTBUG-55165 Change-Id: Id8e648e59755aa2820b05b990adeaa9b58fd26f0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix build with -no-spellcheckerMichal Klocek2017-06-061-0/+1
| | | | | | | | Add dependency to spellchecker build_feature Task-number: QTBUG-61165 Change-Id: Ib730280f00b07c9f8a0ffb59399e0a25bc9829a3 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Fix QMimeData to content::DropData conversionJoerg Bornemann2017-06-061-1/+1
| | | | | | | | | | | | | | | | | When files are dropped then it's expected that dataTransfer.files and dataTransfer.items have the same amount of entries. That means that whenever QMimeData contains files we must only convert those and ignore the rest. But while files do not allow other items before them, text and URLs may co-exist in content::DropData. This is consistent with the behavior of Chromium and Firefox and what web pages expect. Task-number: QTBUG-59690 Change-Id: Iad56aac3e071dcfa09fa5dfcc788c1c54c6eeae6 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Remove duplicate installation of resource filesAlexandru Croitor2017-06-061-17/+0
| | | | | | | | | | | | | The resources files are currently installed twice. Once in src/core.pro and once in src/core_module.pro. The core.pro installation steps should be removed, because they do not cover the macOS framework case, thus ending up with creating resources both in the framework directory, as well as in the installation root. Task-number: QTBUG-60707 Change-Id: Id0121c82d7439949474f605c6630ae045125f7ba Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix compilation on clangMichal Klocek2017-06-011-4/+5
| | | | | | | | | | | Use 'visibilty' attribute instead of 'static' to hide extra symbols - clang compiler does not like it. Task-number: QTBUG-61138 Task-number: QTBUG-60565 Change-Id: Ibf4b469a179ad77b68ad4e54ab541e7276367a44 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Store Target URL in WebContentsDelegateQt::WebContentsCreatedViktor Engelmann2017-05-307-8/+15
| | | | | | | | | | | | | | | | | | | | | | | When opening a new window, for example by using the JavaScript method window.open('...'), the requested url is not stored in the content::WebContents object we get in WebContentsDelegateQt::createWindow (at this point, it should at least be stored as pending request in the WebContents' NavigationController, but it is not). Because of this, the QQuickWebEngineNewViewRequest object in QQuickWebEngineViewPrivate::adoptNewWindow never contained the url. We have access to the target url in WebContentsDelegateQt::WebContentsCreated, so now we store it there in a new property m_initialTargetUrl, from where WebContentsDelegateQt::createWindow takes it and passes it to WebContentsAdapter::adoptNewWindow as a new parameter. [ChangeLog][WebEngine] Fix WebEngineNewViewRequest::requestedUrl being empty when opening window from JavaScript Task-number: QTBUG-57675 Change-Id: I7e2c7866899baade17ce2517e6be8b2b2709699e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge remote-tracking branch 'origin/5.9.0' into 5.9Allan Sandfeld Jensen2017-05-2919-38/+256
|\ | | | | | | Change-Id: Iba6114263488d6bf84b255b38182904dc5880386
| * Update Chromiumv5.9.0-rc2v5.9.0-rc1v5.9.0Allan Sandfeld Jensen2017-05-191-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Changes: 889f71d Fix Linux kernel lacking V4L2_CID_POWER_LINE_FREQUENCY_AUTO 7a02c7ed Stop erronous deadlock errors in sandboxed debug mode 72edffd [Backport] Fix traverseNonCompositingDescendantsInPaintOrder for float-under-inline cases aa2fdd6 Revert "Revert "[Backport] Fix for CVE-2017-5064"" Change-Id: I315a11ed196da1eec5255c6243ef820622afd3c1 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
| * Fix typos in symbol namesMichal Klocek2017-05-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | The symbol name for delete operators did not match the actual function definitions, however linker had no problem with that and simply skipping the symbol version export. Due to lazy binging in PLT this also got unnoticed when testing with test app, where delete was called on exit. Task-number: QTBUG-60565 Change-Id: I2be2f394a0097f1d06cf9ecda33ae5b22f83a77c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Fix selectionChanged signal out of input fieldPeter Varga2017-05-172-8/+29
| | | | | | | | | | | | Task-number: QTBUG-60688 Change-Id: I6d0b78e6b8df54c40ae30d5f0909c631c440a9cd Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| * Update ChromiumAllan Sandfeld Jensen2017-05-171-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulling in the remaining security patches from Chrome 57 and 58 Changes: e7de22b [Backport] Clear the FrameBuffer in case of a backward jump in the picture id. eccf7e6 [Backport] Don't update the jitter estimate with frames containing retransmitted packets. 0917c40 [Backport] Fix for CVE-2017-5068 (1/2) 9ae3b1f [Backport] Fix for CVE-2017-5068 (2/2) 67b158e [Backport] Fix of CVE-2017-5061 and CVE-2017-5067 b428c84 [Backport] Fix for CVE-2017-5052 f4df648 [Backport] Fix for CVE-2017-5053 ad6bdc3 [Backport] Fix for CVE-2017-5054 Change-Id: Ib853362fc17d64117937cfa59e2a7db8b4fd0c16 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| * Fix qwebengine_convert_dict to work with macOS framework buildAlexandru Croitor2017-05-161-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ICU data file in a macOS framework build is located inside the QtWebEngineCore.framework/Resources directory. The dictionary conversion tool looked for the ICU data file only in the installed Qt location directory, which is incorrect, thus leading to a conversion failure. The fix is to check for the data file in the QtWebEngineCore framework directory. Task-number: QTBUG-60707 Change-Id: Ic2325e2b5a5db4e7cbcea3bed92755d5f8b92f95 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Update chromiumAllan Sandfeld Jensen2017-05-161-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in the second set of security fixes from Chrome 58 Changes: bb60dcc [Backport] Fix for CVE-2017-5062 6b84421 [Backport] Fix for CVE-2017-5063 3c92b73 [Backport] Fix for CVE-2017-5064 c0cfcc1 [Backport] Fix for CVE-2017-5065 ee17dd9 [Backport] [refactor] Extract the CertVerifyResult assignment of has_md2, has_md4, has_md5, has_sha1, has_sha1_leaf to a helper function. 0fcf288 [Backport] Refactor the assignment of CertVerifyResult::has_md2, etc. 251f147 [Backport] Add support for MD2, MD4, and MD5 to SignatureAlgorithm. 3eaa2c8 [Backport] Fix for CVE-2017-5066 522c25e [Backport] Fix for CVE-2017-5069 130bf0e [Backport] Update expat to 2.2.0 to fix CVE vulnerability. a62d384 [Backport] cerry-pick fix for uninitialized memory in flac 4ad4d47 Revert "[Backport] Fix for CVE-2017-5064" Change-Id: I1a182ccfafb9b248cc0f144e43b6fca282e62dd5 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| * Disable Pepper using OpenGL images on macOSAllan Sandfeld Jensen2017-05-151-0/+2
| | | | | | | | | | | | | | | | | | We don't support textures in the GL_TEXTURE_RECTANGLE_ARB texture target which is used by Pepper now unless explicitly disabled. Task-number: QTBUG-60706 Change-Id: I56c1ba124e9ed666248912a20cf6db0230e6d981 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
| * Remove interruptReasonChanged signalKai Koehne2017-05-152-13/+1
| | | | | | | | | | | | | | | | | | | | Users should instead listen to stateChanged - we assume that the reason does not change independently of the state. Change-Id: I369f1c537013f0b9988c0d9bef4855d97e9b8736 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Document Mac App Store incompatibilityAlexandru Croitor2017-05-152-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | The patch also removes the appstore compatibility feature from the feature summary displayed when qmake is invoked, and also makes sure not to pass the relevant compatibility argument to GN. [ChangeLog][macOS] Removed -appstore-compliant configure switch. Task-number: QTBUG-60443 Change-Id: I9c5ced0375195dd62e2416c57484d8e6021ebdd8 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Fix broken ABI in qtwebengine libs between 5.8/5.9Michal Klocek2017-05-152-0/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Due to internal chromium 53 change in default allocator qtwebengine 5.8 release exported globally operator new, new[], delete and delete[] with Qt_5 'default' version. The issue was spotted and fixed after official 5.8.0 release. This causes ABI breakage since faulty released symbols are missing in upcoming 5.9.0 release and the software compiled against 5.8.0 will not work due to unresolved symbols at runtime. Readd the symbols, however mark Qt_5 symbols version as non-default, this way they are not picked up during link time, but they still could be resolved during runtime. Task-number: QTBUG-60565 Change-Id: I3320ac7785aea6b03443e8acd4b9d334e574d77f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
| * Update ChromiumAllan Sandfeld Jensen2017-05-151-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Pulls in the first of the security patches from Chromium 58 Changes: 91208c9 [Backport] Fix for occasional crashes in FindRequestManager::OnFindReply(). 4cde785 [Backport] Fix for CVE-2017-5057 ddf1bc1 [Backport] Fix for CVE-2017-5058 bea5a0f [Backport] Fix for CVE-2017-5059 2312c65 [Backport] Fix for CVE-2017-5060 Change-Id: Ie3362001e588730d32c4687e0ff90482d9bd5a8b Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| * Fix backwards compatibilityAllan Sandfeld Jensen2017-05-104-0/+18
| | | | | | | | | | | | | | | | | | | | QtWebEngine supports building with last stable and last LTS Qt releases. Guard some 5.7-5.9 API from being used when not available, and reinstate the default features for 5.6 LTS builds. Change-Id: Ia288a49109d011a2bee883d4a2d38d994b497d59 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Fix crash on exit with url-request interceptorsAllan Sandfeld Jensen2017-05-083-0/+8
| | | | | | | | | | | | | | | | | | | | If the interceptor is the child of the profile, they will be deleted with the API profile which is before the underlying browser-context, they should therefore be unset from the browser context first. Task-number: QTBUG-60236 Change-Id: I2954e8106863b8b421ef166f6bf8fa79240c95ee Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
| * Disable hardware video decoding on macOSAlexandru Croitor2017-05-081-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | When WebEngine is built with proprietary codecs enabled, this leads to usage of the macOS video hardware acceleration framework. Because of missing support of Rectangle OpenGL textures on the Qt WebEngine side, AVC videos are not displayed correctly. Disable hardware video decoding on macOS until said support is implemented. Task-number: QTBUG-60002 Change-Id: I5faf8df00362d442c5a6f207cc2a9637d663ad00 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Doc: Update Chromium versionKai Koehne2017-05-081-2/+2
| | | | | | | | | | | | Change-Id: I91d394cb0f308c76d97bfd8a99ff8b3e1c2243e6 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Disable accessibility support on Linux by defaultAlexandru Croitor2017-05-082-3/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For very big HTML pages, accessibility support can slow down the loading and rendering of pages due to creation of many AXNodes for every DOM node, and a lot of serializing and deserializing between processes. Because accessibility is almost always enabled on Linux, and there is no way to query if an accessibility feature was explicitly requested, Qt WebEngine accessibility support on Linux will be disabled by default. Users can set the QTWEBENGINE_ENABLE_LINUX_ACCESSIBILITY environment variable to re-enable accessibility support on Linux. [ChangeLog][Accessibility][Linux] Accessibility is disabled by default for Qt WebEngine on Linux. Task-number: QTBUG-59922 Task-number: QTBUG-54650 Change-Id: Ib0454f6f753043838e4ecf2227d2249afc15a6ef Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| * Move ICU configuration to new configure systemAllan Sandfeld Jensen2017-05-081-0/+0
| | | | | | | | | | | | | | | | | | The command-line switches is called webengine-icu to avoid conflicting with icu switches in other modules. Change-Id: Ic923a199efbc4081b3c30f0cafa4b7ea786bdb00 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
| * Make Simple Browser a highlighted exampleKai Koehne2017-05-081-1/+1
| | | | | | | | | | | | | | | | | | Show SimpleBrowser prominently in the Qt Creator Welcome screen, instead of the Markdown Editor example. Change-Id: I9db425b1a9a5b39aa38ee5b70d123c96ecabca02 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Remove docs about deploying ffmpegsumo.dll as this is no longer neededAndy Shaw2017-05-241-7/+0
| | | | | | | | | | | | Change-Id: I37adcbff5b1279cf2432189ae8ae6b5e539fda77 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Show "Follow link" context menu item for links without textJüri Valdmann2017-05-172-2/+2
| | | | | | | | | | | | | | | | The standard context menu currently doesn't have the "Follow link" item for e.g. the image links on https://www.qt.io . Change-Id: I5b9d620135c7a8e65bd95a0ab07a76278e56cad0 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Find Google Chrome's flash plugin on newer macOS versionsAllan Sandfeld Jensen2017-05-151-1/+8
| | | | | | | | | | | | | | | | | | Newer versions of Chrome will download the flash plugin to its own application folder instead of a system-wide folder for internet plugins. Task-number: QTBUG-60706 Change-Id: I61d569f7033b2c7bac84f479e3d196e83b07bc35 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Fix error in updating user-agent and accept-languageAllan Sandfeld Jensen2017-05-091-1/+1
| | | | | | | | | | | | | | | | We never reset the state to indicate an update is no longer under way. Task-number: QTBUG-60588 Change-Id: I13e2f85e4c957bb100e5f91ab07b2f2b04db4a11 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | Improve distcleanAllan Sandfeld Jensen2017-05-081-0/+2
|/ | | | | | | | Remove our manually generated configuration files on make distclean. Task-number: QTBUG-60235 Change-Id: I8b851fa80e1c17ea6ede9efb6ba0d2f108026db8 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Merge 5.9 into 5.9.0v5.9.0-beta4Oswald Buddenhagen2017-05-0511-71/+70
|\ | | | | | | Change-Id: If450c073521057241f34ed9b9a7f9965c6752a15
| * Create example for full screen feature in WebEngineJüri Valdmann2017-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds an example ('videoplayer') showing how to enable the Fullscreen API[1] in QWebEngineView. This is one of the missing examples blocking the removal of demobrowser. [1]: https://fullscreen.spec.whatwg.org Task-number: QTBUG-59820 Change-Id: Ib02a1556515d87e595ca54c2bce18c9144030fbc Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
| * Improve Qt Creator indexingAllan Sandfeld Jensen2017-05-034-9/+17
| | | | | | | | | | | | | | Includes gn sources, headers and defines Change-Id: I2abfb2c5238211a2305f6bdbcd082e832c048a2b Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
| * Detect the scenegraph software backend when it was set programaticallyMichael Brüning2017-05-021-0/+3
| | | | | | | | | | | | | | | | | | | | | | Since 5.8, it is possible to set the Qt Quick scenegraph backend using QQuickWindow::setSceneGraph backend. However, this is not detectable by WebEngine's implementation as it relied on environment variables or command line options being specified. Task-number: QTBUG-60232 Change-Id: I53291510887ec5c75a15d5927a84e91fb5859e26 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
| * Clean "system" calls to build&run gn and ninjaMichal Klocek2017-04-283-60/+46
| | | | | | | | | | | | | | | | | | | | There was a time when gn build was called during make step, however this was not working with recursive qmake calls. Clean up leftovers and fix path and warnings like "Conditional must expand to exactly one word." during builds. Change-Id: I8546520345a5f89ee829558fa0fd9183587848b3 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
| * Fix macOS deployment target to match the one in Qt CoreAlexandru Croitor2017-04-281-0/+0
| | | | | | | | | | | | | | | | | | | | | | The minimum required macOS deployment target in Qt 5.9 is 10.10. This should be passed on to Chromium, rather than hardcoding the value to 10.7, which was used in pre-Qt 5.6 days to actually require a higher version than Qt Core used at the time. Task-number: QTBUG-60438 Change-Id: Id2ae47f467f8cc92403c1cd7a467335ebbba4e8e Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Make python2 usage more robustJoerg Bornemann2017-04-274-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After configuring Qt there will be an error message if a suitable python version could not be found. Add python2 configure test that - first looks for python2 in PATH - then looks for python in PATH - checks the Python version - stores the result in QMAKE_PYTHON2 Use $$QMAKE_PYTHON2 everywhere where we call python. Pass $$QMAKE_PYTHON2 to gn for its exec_script feature. Task-number: QTBUG-60164 Change-Id: I33de1273cbd20a787b3c8889d35280784dbcd5ae Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Doc: Add info to QWebEngineDownloadItem::downloadProgress docsLeena Miettinen2017-05-041-2/+6
|/ | | | | | | | | The documentation was not very informative when compared with the docs for the similar QNetworkReply::downloadProgress signal. Task-number: QTBUG-56979 Change-Id: Icade60317a7b3fd8aaa37770c60ce8f4f947382b Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Fix undeclared use of QSGFlatColorMaterial when QT_NO_OPENGL is definedJüri Valdmann2017-04-261-4/+4
| | | | | | | | | | | QtWebEngine fails to build with -no-opengl due to src/core/delegated_frame_node.cpp trying to use QSGFlatColorMaterial without including the header. Change-Id: I98c12d3c482f7cacb2f61dd13ae32ee0a5740ae2 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Override shortcuts in HTML input fieldsJoerg Bornemann2017-04-255-5/+140
| | | | | | | | | | | | | | | | | | | When users defined a single-letter short cut it was not possible to type this letter in HTML input fields. Fix this by accepting ShortcutOverride events whenever the web page is editing text. Use QInputControl::isCommonTextEditShortcut for Qt 5.9 and later. For the case where QtWebEngine is built against an older Qt a duplicated code path is used. Also, ensure users do not override web action short cuts. Task-number: QTBUG-59053 Change-Id: Ic26cf2a040a72b118273c6645c00b2913b995b0b Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Document that Python 3 is not supportedJoerg Bornemann2017-04-251-1/+1
| | | | | | | | Task-number: QTBUG-60163 Change-Id: I4763dca3c651c08fb4094a3def6494b3dcd65ebd Reviewed-by: Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Doc: Add class name to function signatureLeena Miettinen2017-04-251-1/+1
| | | | | Change-Id: I95547a19dfa4dc375f93b2c6c1bfdefc05d07a51 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>