Quantcast
Channel: QtWebEngine
Viewing all 13965 articles
Browse latest View live

Unsolved Debian build - error: undefined reference to 'QQmlWebChannel'

$
0
0

I had a look at the OpenSUSE 5.6 spec file for this. My other attempt at bulding qtwebchannel into a proper set of install files tried to mimic this. If I don't provid install files, everything get's installed to /lib and /include, not /usr/lib... and /usr/include/.... which seemed strange since the prefix is usr/ for my qtbase install and all other modules built fine.

What part of that spec file is the binary I can double check? Where should qtwebchannel be installing? I know my catch all package installs the headers, but what piece of that install spec denotes the binary for me to check that it built?


Unsolved Installing certificates or allowing certain hosts.

$
0
0

Loading should work this way, if you use the correct file format
QSslSocket::addDefaultCaCertificates(certdata.pem)
Look here: https://curl.haxx.se/docs/caextract.html

You also need SSL error handling - use this as a working base:

connect(webGUI->page()->networkAccessManager(), SIGNAL(sslErrors(QNetworkReply*, const QList<QSslError> & )), this, SLOT(HandleGUIsslErrors(QNetworkReply*, const QList<QSslError> & ))); void QTGUI_MainWindow::HandleGUIsslErrors(QNetworkReply* reply, const QList<QSslError> &errors) { foreach (QSslError e, errors) { qDebug() << "GUI SSL error:" << e; QByteArray qbTemp; qbTemp.append(e.errorString()); } //reply->ignoreSslErrors(); // this is only a hack !! reply->abort(); }

HTH

pdf viewer pepper plugin support

$
0
0

Using the demobrowser i was able to get the flash plugin working by installing it into /Library/Internet Plug-Ins/PepperFlashPlayer/PepperFlashPlayer.plugin

I was wondering if there is a way to get pdf files to display in the browser window using a pdf viewer plugin somehow as well?

Currently if you load a pdf from a URL, it downloads the pdf instead of viewing it in the browser window. I need support for both viewing and downloading.

Is this currently possible with Qt Webengine or Webview?

Thanks.

Unsolved Get an url of clicked link in WebEngineView

$
0
0

Hi there! I've noticed, that in Qt 5.4 version in WebView there was a signal named navigationRequired, which had a clicked url in parameters. In new WebView and WebEngineView there is not such signal. I also haven't found any alternatives. Is there any way to get a clicked link's url?

Unsolved How can I get height of content in WebEngineView?

$
0
0

Hi there! I have a qml view with structure like: Column{ Rectangle, WebEngineView, another Rectangle }. It's very essential to know height of every element. I found out that I can't get true height of content inside WebEngineView. I tried both height property and runJavaScript with script "document.body.OffsetHeight". Both results always give me 275. Is there a way in Qt to get content of height in WebEngineView?

Unsolved Emoji in QT 5.6 WebView

$
0
0

Tell me please, I have a html content with Emoji, I try to display it in QML using WebEngineView, but not all Emoji displayed.
I have a Font that displays the Emoji, but I can not add this Font to WebEngineView.

It is possible to display the Emoji in WebEngineView?

Unsolved Is there any way to get a qt web browser that can render pdf files?

$
0
0

Hello,

I am looking for some way to get a basic web browser that can render pdf files. SO far the demos and applications I have found and tried do not render a PDF, some will let you download a pdf to the desktop though.

I tried to get a pdf viewer plugin to work but no luck.

Just curious if this is possible or if I should look for other solutions outside of Qt.

Thanks,

Tavis

Unsolved Cannot find c:\Users\qt\work\install\lib\Qt5Widgetsd.lib when compiling QtWebEngine examples

$
0
0

I downloaded Qt5.6 VS2013 32bit and try to run the official example of QtWebEngine. I just followed the instruction but When linking it gives out an error of

LNK1104 file not found c:\Users\qt\work\install\lib\Qt5Widgetsd.lib.

However, I have no idea of where this path c:\Users\qt\work\install\lib\ comes from. I did text search in all directories of example folder and no hits other than generated files(makefiles and pdbs).

I also checked system environment variables but no hits. Furthermore, I checked Qt Creator'r Projects panel and its Build Environment and still no hits.

Did I miss something?

P.S. this error was given out by linking DemoBrowser example of QtWebEngineWidgets pro


QWebChannel - emitting a signal from JavaScript

$
0
0

Did you ever find a solution so that you don't have to call a function that then emits a signal? I am running into this problem as well and we have several functions. The closest I've found are examples that only show how to connect a javascript function to a c++ signal.

Unsolved QWebEngineView: a view renders the contents of another view rather than its own

$
0
0

Hi,

In my application, I have two docked windows that each contain an instance of QWebEngineView. Now, everything works as expected on my development Windows 10 (virtual) machine, as shown here.

However, after having deployed my application on a vanilla Windows 7 (virtual) machine, I can see both windows rendering the same thing. One of them renders what it should be rendering, but the other basically renders a 'screenshot' of the other window (see here and here).

Would anyone have any idea as why this is happening?

Cheers, Alan.

Unsolved Cannot load pepper flash plugin in QtWebEngine with Qt5.6

$
0
0

@ThatDud3
Thanks a lot! I get it work now.
It seems that the newest standalone pepflashplayer*.dll as official documentation writes does not work.
My OS is 64bit but I'm targeting 32bit platform. I just copied chrome's pepflashplayer.dll to both directories and it works.

Unsolved Text disappears in Flash (QT5.6)

$
0
0

Hello,

While testing quicknanobrowser i found that flash content displayed wrong.
Text disappears. How to fix that? (QT 5.6 win64)

IMAGE ALT TEXT HERE

Unsolved Problem with running the application with QWebEngineView.

$
0
0

Have you checked http://doc.qt.io/qt-5/windows-deployment.html? It should contain all the information you need to deploy the sample program on Windows.

Regarding the DLLs you mention, you don't need platforms\qminimal.dll and platforms\qoffscreen.dll. As for libEGL.dll and libGLESv2.dll, they might not be needed unless you use ANGLE, in which case you would also need d3dcompiler_47.dll and opengl32sw.dll.

When it comes to Qt WebEngine, you need quite a few things: QtWebEngineProcess.exe, as well as the contents of the resources and translations\qtwebengine_locales folders.

This being all said, you should be able to get a Qt application ready for deployment by using windeployqt.exe.

Unsolved HTML Page Web Scraping

$
0
0

Hi,

I wanted to know if anyone has been able, and if this capability exists, to use QWebEngine to perform basic text scraping from a page. For example, load an HTML page and then look for a table and extract its content. WebEngine is such a powerful components and I am sure there has to be a way to make that work. All the examples that I found were using webkit with classes that are no longer available.

Any suggestion would be greatly appreciated.

Thanks a lot,
alex

Unsolved QWebEnginePage HiDpi Problem?

$
0
0

I'm developing on a HiDpi screen. My screen's density is 216dpi. "Normal" screen densities are 96dpi.

When I display an html page, it is about 4 times smaller (x and y directions both 2 times smaller) than on a real webbrowser (chrome, ie, firefox).

I'm using Qt 5.6

Is there a way to solve this problem?

Thanks in advance.


Unsolved Could not grab pixels with alpha channel using QWebEngine in QT5.5

$
0
0

What I did is to call QWebEngineView::grab(), and I could not get pixels with transparency, it is always opaque, even html's background is transparent.

Unsolved Prevent QWebEngineView from taking the focus?

$
0
0

I have a QWebEngineView object which I use to display some information, but I don't want it to take the focus. With WebKit, I used to solve that problem by calling setFocusPolicy() with Qt::NoFocus as a parameter. However, this 'solution' doesn't seem to work with QWebEngineView which still takes the focus no matter what.

So, is that a 'problem' with QWebEngineView or am I missing something?...

Cheers, Alan.

Unsolved Migration from QWebPage to QWebEnginePage, problem with createplugin

$
0
0

Hello,

I'm currently doing the migration of my application based on QWebKit to QWebEngine. But, I'm encountering a problem with the "createplugin" method inside QWebEnginePage. It seems that the new QWebEnginePage don't recognize the "application/x-qt-plugin" tag and so don't call createplugin.

Does anyone know if it's still possible to use native plugin with QWebEngine and Qt 5.6 ? Or is it only for QWebKit ?

Thanks a lot for your help !

Unsolved QwebEnginePage - hdpi problem?

$
0
0

I'm developing on a hdpi screen. my screen density is 216dpi.
when i display an html page, it is about 2 times smaller (x and y directions both 2 times smaller) than on a real webbrowser (chrome, ie, firefox).
qt5.6
what can I do to solve this?

Unsolved "eglCreatePbufferSurface failed with error "

$
0
0

Hi. I'm trying to get Qt WebEngine work with eglfs_kms. However, it emits the
following error:

[0101/000155:ERROR:gl_surface_qt.cpp(419)] eglCreatePbufferSurface failed with error 
[0101/000155:ERROR:command_buffer_proxy_impl.cc(182)] Failed to initialize command buffer service.
[0101/000155:ERROR:webgraphicscontext3d_command_buffer_impl.cc(210)] CommandBufferProxy::Initialize failed.
[0101/000155:ERROR:webgraphicscontext3d_command_buffer_impl.cc(229)] Failed to initialize command buffer.

gl_surface_qt.cpp(419) is the following line:

        LOG(ERROR) << "eglCreatePbufferSurface failed with error ", GetLastEGLErrorString();

The log doesn't include a EGL error string, so I think it's failing to call
EGL functions. Any idea to fix the issue?

Viewing all 13965 articles
Browse latest View live