Skip to content

QtWebEngine

Discussions and questions on QtWebEngine
1.3k Topics 4.0k Posts
  • After loadFinished QWebEngineView does not update the view

    Unsolved
    1
    0 Votes
    1 Posts
    364 Views
    No one has replied
  • GCC build needs clang?

    Unsolved
    4
    0 Votes
    4 Posts
    661 Views
    E
    @SGaist Thanks, I'll give it a try.
  • The performance of qwebengineview is really bad

    Unsolved
    9
    1 Votes
    9 Posts
    4k Views
    Chris KawaC
    @alvazz You still haven't said what and how you're measuring. Creating a web engine view is a heavy task. It spins up entire chromium and javascript engines. It also changes rendering backend from software based widgets to hardware accelerated chromium surface. If you're planning on switching to and from it a lot then you should create it once and just show/hide, not recreate every time you want to show new page, because yes, that's going to be slow like closing and re-opening a browser.
  • QtWebEngineCore crash when calling std::exit()

    Unsolved
    4
    0 Votes
    4 Posts
    760 Views
    JonBJ
    @JW16 I think you should add wv->close() before exiting, just in case that allows it to clean up better. Also does it still crash if you compile for release? If it only happens in debug you may end up chasing your tail. If I instead delete the app prior to calling exit(), there is no crash. Is that not a viable workaround if you find it is the only solution?
  • error when build qtwebengine in arm64

    Solved
    2
    0 Votes
    2 Posts
    516 Views
    U
    Hello everyone, i will share some experience to compile qtmodule at the arm64 platform. The configure command is ./configure -prefix 'installed position' -opensource -confirm-license -nomake examples -nomake tests -nomake tools -make libs -shared -fontconfig -pkg-config -opengl es2 -egl -xcb -xkbcommon -release and when you should ensure all library was installed by config.summy or check config.log. Thanks.
  • Examples not working loading the web content

    Solved example error examples example bug web
    2
    0 Votes
    2 Posts
    812 Views
    M
    So if anyone finds the same issue, the workaround can be found here: https://github.com/probonopd/linuxdeployqt/issues/554 I just put the line: qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-gpu --no-sandbox"); And everything started to work.
  • Add to web open pdf and txt files

    Unsolved
    6
    0 Votes
    6 Posts
    971 Views
    jsulmJ
    @BlinCt said in Add to web open pdf and txt files: there are no settings for docx files? Most probably not. I don't think any existing browser can show Microsoft Office files without plug-ins (maybe Microsofts own browsers can).
  • Yocto fails to add qtwebengine 5.15.2

    Unsolved
    1
    0 Votes
    1 Posts
    645 Views
    No one has replied
  • Freeing all memory of the QWebEngine (and Qt Quick)

    Unsolved qwebengine memory leak module linux qt6
    1
    0 Votes
    1 Posts
    715 Views
    No one has replied
  • PyQt5 WebEngineView If it has cookies, it crashes

    Solved
    6
    0 Votes
    6 Posts
    811 Views
    S
    After all, I configured everything wrong, disregard my code above, i have posted in this Topic the solution.
  • 0 Votes
    5 Posts
    608 Views
    elicatE
    @JonB Hello thanks for your precision. Is there another way to make a c++ method communicate with a javascript code of an html page loaded in a qml file? If there is I didn't know about it. I have inserted the post in the QtWebEngine section specially. Anyway, It is true that questions asked in the right way are easier to interpret and solve. After seeing the proposed link I solved it as follows. QJsonDocument json(recordsArray); json.setArray(recordsArray); QJSEngine engine; QJSValue resDatiSqlJsonValue; if (json.isObject()) { resDatiSqlJsonValue = engine.toScriptValue(json.object()); } else if (json.isArray()) { resDatiSqlJsonValue = engine.toScriptValue(json.array()); } else { resDatiSqlJsonValue = engine.newErrorObject( QJSValue::TypeError, "JSON was neither an object nor array. Strange, right?" ); } emit testJsonReturn(resDatiSqlJsonValue); Thanks
  • Spurious warnings from Qt5WebEngineCore.so while invoking Qt5 Application on SUSE12-SP4

    Unsolved
    1
    0 Votes
    1 Posts
    190 Views
    No one has replied
  • 0 Votes
    8 Posts
    2k Views
    S
    @JoeCFD Where is it located in the relative /QT folder? /... like 5.12.5 , dist, Docs, Examples
  • Ambiguity in documentation description and reality of problems in practice

    Solved
    20
    0 Votes
    20 Posts
    2k Views
    R
    @JonB lucky we))) but not enough///// Coz I still have enough problems. I should have had working support for compiling QPDF* classes. But because it was built into the QWebEngine module, which now only supports x64, so now I've failed... completely... Main problem of this topic is revealed, but mine problems are still with me...
  • Qt WebEngine seems to be initialized from a plugin.

    Solved
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • QWebEngine Shows white screen occasionally

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    P
    @nodeepshit We are having a similar issue: https://bugreports.qt.io/browse/QTBUG-99428
  • QML WebView - Windows Woes?

    Unsolved webview
    1
    0 Votes
    1 Posts
    288 Views
    No one has replied
  • QtWebEngine in Qt 6.5 : license doubt

    Unsolved
    2
    0 Votes
    2 Posts
    325 Views
    SGaistS
    Hi, WARNING: I am not a lawyer. I would say you are correct. You should bring this to the Qt Company. This a user forum.
  • Download the files in qwebengineview (PyQt)

    Unsolved
    2
    0 Votes
    2 Posts
    1k Views
    M
    @Coder91 Hi, Look at signals of QWebEngineDownloadItem and Managing Downloads at the end of this page : Simple Browser
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    125 Views
    No one has replied