Is it possible to disable zooming(ctrl+mousewheel) of html content loaded in QWebEngineView. I tried
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--enable-blink-features=ShadowDOMV0,CustomElementsV0,--disable-pinch");
it is not working.
Note: We are building a desktop application.
Related
I'm using Xam.Plugins.WebView with static HTML on multiple pages of a carousel. I find that when a carousel page first shows a page the HTML takes a while to render and there's an ugly flash. This doesn't happen when using the default Forms WebView but I'm not using that because it doesn't do Javascript integration. Is there a way to trigger a rendering of HTML before it's visible? (Under the covers it's using WkWebView instead of UIWebView, which is what Forms WebView uses.)
I have a page with serial number checking (SerialCodePage). It is implemented and added in installer code after IntroductionPage.
This page is needed for Pro version, and for Lite I would like to hide it, without recompile installer code.
I tried to implement it with the help of installer.removeWizardPage (component, "SerialCodePage"); in componentscript and controlscript, but the function always returns false.
How do I hide this page?
Apparently removeWizardPage works only for pages added in QJS.
In my case, I had to add this page to ScriptEngine::generateQInstallerObject and use installer.setDefaultPageVisible(QInstaller.SerialCode, false);
I'm using web page template which uses
#import url(http://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900); to apply text font in all pages.
I tried to download the code and use into my web pages. In Firefox and Chrome the code is working but in IE it's not working.
I tried to use only the link but I get error:Blocked loading mixed active content "http://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900" because I use SSL.
Can you propose some solution?
When using Qt5 on snowleopard, even with the prebuild 5.1 Qt version, I'm unable to make a video show up in a QWebView, I tried loading the video in a tag without success.
The Dev tools highlight a 0pixels width x 0px height at the video tag origin.
I tried loading a h264 mp4 file directly into the qwebview, but all it tells me is inside the Qt output console
Error loading /Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/MacOS/QuickTime Plugin: dlopen(/Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/MacOS/QuickTime Plugin, 265): no suitable image found. Did find:
/Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/MacOS/QuickTime Plugin: no matching architecture in universal wrapper
And blank page in the view.
Have no idea where to go from here.
Any idea or suggestion why I'm unable to play videos (even local videos) inside QtWebkit?
I have a very simple Qt Application which uses QtWebkit and QWebPage to render webpages. The problem is that it doesn't seem to support popups. For example, in google.com, when I click on "Gmail", a Javascript alert say that my browser has disabled the popups...
And a html file with the following "a" tag: Link works neither.
Can anybody help me?
Thanks.
You need to redefine either QWebPage::createWindow or QWebView::createWindow to create a new QWebPage and/or QWebView.