Skip to content

QtWebEngine

Discussions and questions on QtWebEngine
1.3k Topics 4.0k Posts
  • QwebEnginePage - hdpi problem?

    Locked Unsolved
    2
    0 Votes
    2 Posts
    763 Views
    ?
    Duplicate of http://forum.qt.io/topic/66608
  • QWebEnginePage HiDpi Problem?

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    C
    I report this issue to official and but them not yet solved, you can vote it. My solution is automatically zoom in webpage when the dpi is high. https://bugreports.qt.io/browse/QTBUG-53449
  • Qt 5.7beta -- where is QWebEngine?

    Unsolved
    2
    0 Votes
    2 Posts
    822 Views
    C
    That's a Known Issue, qt official will fix it in qt 5.7rc version. https://bugreports.qt.io/browse/QTBUG-52517?filter=17619
  • "eglCreatePbufferSurface failed with error "

    Solved qtwebengine egl eglfs mesa qt5.6
    2
    0 Votes
    2 Posts
    2k Views
    1732101
    Solved: the cause was the stub in mesa3d drm backend. It's solved by altering the backend.
  • 0 Votes
    1 Posts
    895 Views
    No one has replied
  • Problem with running the application with QWebEngineView.

    Unsolved qwebengineview qwebengine
    4
    0 Votes
    4 Posts
    5k Views
    A
    @Hans-Dijkema I have yet to try Qt 5.7 beta, but... it seems to me like you haven't installed QtWebEngine?...
  • Could not grab pixels with alpha channel using QWebEngine in QT5.5

    Unsolved
    1
    0 Votes
    1 Posts
    539 Views
    No one has replied
  • HTML Page Web Scraping

    Unsolved
    1
    0 Votes
    1 Posts
    891 Views
    No one has replied
  • Is there any way to get a qt web browser that can render pdf files?

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    picaschafP
    @eureka And if this doesn't work you could use something like pdf.js (https://mozilla.github.io/pdf.js/)
  • Text disappears in Flash (QT5.6)

    Unsolved
    3
    0 Votes
    3 Posts
    964 Views
    SandermanS
    I opened a bug report: https://bugreports.qt.io/browse/QTBUG-53042
  • Cannot load pepper flash plugin in QtWebEngine with Qt5.6

    Unsolved
    4
    0 Votes
    4 Posts
    7k Views
    T
    Please mark as [SOLVED]
  • QWebEngineView: a view renders the contents of another view rather than its own

    Unsolved
    1
    0 Votes
    1 Posts
    520 Views
    No one has replied
  • QWebChannel - emitting a signal from JavaScript

    2
    1 Votes
    2 Posts
    2k Views
    K
    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.
  • 0 Votes
    1 Posts
    798 Views
    No one has replied
  • Debian build - error: undefined reference to 'QQmlWebChannel'

    Unsolved
    8
    0 Votes
    8 Posts
    3k Views
    kshegunovK
    @professorkaos64 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? I'm sorry but I really can't say, I have no idea what that file is or how it's used. It looks like a shell script, but I don't recognize the interpreter. That said, I'd first look at the chrooted /usr/lib (or /lib) if the Qt5WebChannel.so is present, if not it should somehow be made available to the linker, either by providing a symbolic link to it's location or by copying the binary from it's build location. I'm sorry I can't be more specific, but I reiterate I haven't built anything this way, and only observed that there's no build step for said module. PS. I'm sorry for the delay, I was pretty busy these two days.
  • Emoji in QT 5.6 WebView

    Unsolved
    1
    0 Votes
    1 Posts
    754 Views
    No one has replied
  • How can I get height of content in WebEngineView?

    Unsolved webengine qml qt5.6
    1
    0 Votes
    1 Posts
    886 Views
    No one has replied
  • Get an url of clicked link in WebEngineView

    Unsolved qml webengineview qt5.6
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • pdf viewer pepper plugin support

    1
    2 Votes
    1 Posts
    754 Views
    No one has replied
  • Installing certificates or allowing certain hosts.

    Unsolved
    2
    0 Votes
    2 Posts
    2k Views
    McLionM
    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